Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 186.5 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 16 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6772/0.6777, allocations: 142.4 MB / 0.9557 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003717/0.6815, allocations: 3.37 MB / 0.959 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.6854, allocations: 2.507 MB / 0.9614 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.686, allocations: 15.91 kB / 0.9614 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008976/0.6869, allocations: 225.7 kB / 0.9617 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.6883, allocations: 466.4 kB / 0.9621 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.6896, allocations: 463.5 kB / 0.9625 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.6917, allocations: 1.615 MB / 0.9641 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.692, allocations: 131.4 kB / 0.9642 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008049/0.6928, allocations: 386.3 kB / 0.9646 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008491/0.6936, allocations: 498.1 kB / 0.9651 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.6938, allocations: 29.28 kB / 0.9651 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.694, allocations: 31.59 kB / 0.9651 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.6943, allocations: 317.4 kB / 0.9654 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.6947, allocations: 455.8 kB / 0.9659 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.6953, allocations: 0.67 MB / 0.9665 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6953, allocations: 0 / 0.9665 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6953, allocations: 1.062 kB / 0.9665 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.6953, allocations: 0 / 0.9665 GB, free: 15.96 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002054/0.6974, allocations: 1.12 MB / 0.9676 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6974, allocations: 14.14 kB / 0.9676 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.6976, allocations: 102.1 kB / 0.9677 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.6986, allocations: 0.6413 MB / 0.9684 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.6986, allocations: 41.72 kB / 0.9684 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.6987, allocations: 54.06 kB / 0.9685 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.6994, allocations: 405.5 kB / 0.9688 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6994, allocations: 3.938 kB / 0.9688 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.6995, allocations: 15.88 kB / 0.9689 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.6995, allocations: 9.062 kB / 0.9689 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.6999, allocations: 231 kB / 0.9691 GB, free: 14.09 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.7028, allocations: 2.516 MB / 0.9716 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.7041, allocations: 496.3 kB / 0.972 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.7044, allocations: 151.1 kB / 0.9722 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.7044, allocations: 6.828 kB / 0.9722 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.7044, allocations: 36.05 kB / 0.9722 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.7044, allocations: 1.312 kB / 0.9722 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002173/0.7066, allocations: 1.216 MB / 0.9734 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7067, allocations: 54.66 kB / 0.9734 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.708, allocations: 0.9128 MB / 0.9743 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.708, allocations: 44.98 kB / 0.9744 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.7083, allocations: 370.6 kB / 0.9747 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.7084, allocations: 121.4 kB / 0.9749 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.7085, allocations: 95.36 kB / 0.9749 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7087, allocations: 392 kB / 0.9753 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.7091, allocations: 233.8 kB / 0.9755 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.7098, allocations: 0.6183 MB / 0.9761 GB, free: 8.426 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.7129, allocations: 1.788 MB / 0.9779 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.7129, allocations: 4.219 kB / 0.9779 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001561/0.7144, allocations: 0.9046 MB / 0.9788 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.7145, allocations: 14.88 kB / 0.9788 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.7145, allocations: 17.41 kB / 0.9788 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.7147, allocations: 50.67 kB / 0.9789 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.7154, allocations: 210.3 kB / 0.9791 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.7165, allocations: 1.354 MB / 0.9804 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.7175, allocations: 63.97 kB / 0.9804 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7176, allocations: 47.94 kB / 0.9805 GB, free: 4.957 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.718, allocations: 293.2 kB / 0.9808 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.7181, allocations: 78.97 kB / 0.9808 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.7182, allocations: 80.52 kB / 0.9809 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.7182, allocations: 7.984 kB / 0.9809 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.7182, allocations: 3.938 kB / 0.9809 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.7183, allocations: 4 kB / 0.9809 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.7199, allocations: 1.144 MB / 0.9821 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.72, allocations: 4.031 kB / 0.9821 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.7204, allocations: 83.88 kB / 0.9821 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.7205, allocations: 28.84 kB / 0.9822 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.7205, allocations: 15.98 kB / 0.9822 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009827/0.7215, allocations: 1.327 MB / 0.9835 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7215, allocations: 0 / 0.9835 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.7224, allocations: 0.668 MB / 0.9841 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.7228, allocations: 200.1 kB / 0.9843 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.7229, allocations: 11.98 kB / 0.9843 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.7233, allocations: 19.92 kB / 0.9843 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.7234, allocations: 23.97 kB / 0.9844 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.7234, allocations: 8 kB / 0.9844 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008248/0.7242, allocations: 0.6161 MB / 0.985 GB, free: 92 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7242, allocations: 4 kB / 0.985 GB, free: 88 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008779/0.7251, allocations: 212 kB / 0.9852 GB, free: 15.88 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.7253, allocations: 107.2 kB / 0.9853 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7265, allocations: 0.6503 MB / 0.9859 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7265, allocations: 0 / 0.9859 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.7269, allocations: 266.5 kB / 0.9862 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7279, allocations: 168.5 kB / 0.9863 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.7305, allocations: 2.036 MB / 0.9883 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.7311, allocations: 0.9879 MB / 0.9893 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.7313, allocations: 59.38 kB / 0.9893 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7313, allocations: 0 / 0.9893 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.01702/0.7483, allocations: 11.97 MB / 1.001 GB, free: 15.58 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches