Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 106.8 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 187 kB / 17.34 MB, free: 5.742 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 67.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8267, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1981/1.025, allocations: 194 MB / 1.398 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01085/1.036, allocations: 6.939 MB / 1.405 GB, free: 3.965 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/1.038, allocations: 47.69 kB / 1.405 GB, free: 3.918 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/1.04, allocations: 0.6908 MB / 1.405 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006372/1.046, allocations: 2.338 MB / 1.408 GB, free: 0.875 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/1.05, allocations: 1.433 MB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004268/1.054, allocations: 2.994 MB / 1.412 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/1.056, allocations: 0.8801 MB / 1.413 GB, free: 11.56 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/1.059, allocations: 1.151 MB / 1.414 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/1.06, allocations: 0.8005 MB / 1.415 GB, free: 9.613 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/1.061, allocations: 100 kB / 1.415 GB, free: 9.516 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.065, allocations: 2.062 MB / 1.417 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/1.065, allocations: 366.9 kB / 1.417 GB, free: 7.09 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/1.066, allocations: 0.5869 MB / 1.418 GB, free: 6.5 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/1.071, allocations: 2.386 MB / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.071, allocations: 0 / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.924e-06/1.071, allocations: 0 / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.064e-05/1.071, allocations: 4 kB / 1.42 GB, free: 4.105 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004184/1.075, allocations: 1.633 MB / 1.422 GB, free: 2.414 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.075, allocations: 8.031 kB / 1.422 GB, free: 2.406 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/1.078, allocations: 0.5331 MB / 1.422 GB, free: 1.871 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.08, allocations: 1.038 MB / 1.423 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/1.08, allocations: 53.31 kB / 1.423 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/1.081, allocations: 67.98 kB / 1.423 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/1.083, allocations: 1.105 MB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.083, allocations: 3.938 kB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.083, allocations: 31.94 kB / 1.424 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/1.083, allocations: 37.3 kB / 1.425 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/1.087, allocations: 1.164 MB / 1.426 GB, free: 14.3 MB / 1.154 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.0062/1.093, allocations: 3.166 MB / 1.429 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.095, allocations: 0.6841 MB / 1.429 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/1.095, allocations: 424.6 kB / 1.43 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008906/1.096, allocations: 1.021 MB / 1.431 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/1.097, allocations: 0.5182 MB / 1.431 GB, free: 8.164 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 2.935e-06/1.097, allocations: 0 / 1.431 GB, free: 8.164 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.003139/1.101, allocations: 1.217 MB / 1.433 GB, free: 6.938 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/1.101, allocations: 148.8 kB / 1.433 GB, free: 6.762 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.103, allocations: 1.176 MB / 1.434 GB, free: 5.57 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.103, allocations: 41.64 kB / 1.434 GB, free: 5.523 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.103, allocations: 437.5 kB / 1.434 GB, free: 5.094 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.104, allocations: 189.2 kB / 1.434 GB, free: 4.906 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/1.104, allocations: 150 kB / 1.435 GB, free: 4.754 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.104, allocations: 326 kB / 1.435 GB, free: 4.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.105, allocations: 440.9 kB / 1.435 GB, free: 3.996 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.107, allocations: 0.5976 MB / 1.436 GB, free: 3.352 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.109, allocations: 0.9223 MB / 1.437 GB, free: 2.379 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.109, allocations: 0 / 1.437 GB, free: 2.379 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0032/1.112, allocations: 1.201 MB / 1.438 GB, free: 1.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/1.112, allocations: 41.69 kB / 1.438 GB, free: 1.113 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.112, allocations: 4 kB / 1.438 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.112, allocations: 4 kB / 1.438 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/1.113, allocations: 192 kB / 1.438 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/1.113, allocations: 11.94 kB / 1.438 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.115, allocations: 238.9 kB / 1.438 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.115, allocations: 31.98 kB / 1.438 GB, free: 0.6406 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005493/1.115, allocations: 331.3 kB / 1.439 GB, free: 308 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/1.116, allocations: 114.6 kB / 1.439 GB, free: 192 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/1.118, allocations: 0.9866 MB / 1.44 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.118, allocations: 8 kB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.118, allocations: 3.938 kB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.118, allocations: 11.98 kB / 1.44 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/1.124, allocations: 3.158 MB / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/1.124, allocations: 11.94 kB / 1.443 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/1.124, allocations: 124 kB / 1.443 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/1.125, allocations: 8 kB / 1.443 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/1.125, allocations: 23.98 kB / 1.443 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/1.125, allocations: 11.94 kB / 1.443 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.125, allocations: 8 kB / 1.443 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/1.127, allocations: 1.346 MB / 1.444 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/1.128, allocations: 327.4 kB / 1.445 GB, free: 9.863 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/1.128, allocations: 28 kB / 1.445 GB, free: 9.836 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.129, allocations: 103.9 kB / 1.445 GB, free: 9.734 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.13, allocations: 67.69 kB / 1.445 GB, free: 9.668 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/1.13, allocations: 39.97 kB / 1.445 GB, free: 9.629 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001616/1.131, allocations: 0.8443 MB / 1.446 GB, free: 8.777 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.61e-07/1.131, allocations: 4 kB / 1.446 GB, free: 8.773 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001233/1.133, allocations: 303.8 kB / 1.446 GB, free: 8.477 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000847/1.133, allocations: 348.5 kB / 1.446 GB, free: 8.145 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002444/1.136, allocations: 1.025 MB / 1.447 GB, free: 7.105 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.136, allocations: 4 kB / 1.447 GB, free: 7.102 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/1.137, allocations: 0.5106 MB / 1.448 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.14, allocations: 0.543 MB / 1.448 GB, free: 6.047 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/1.144, allocations: 2.065 MB / 1.451 GB, free: 3.844 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/1.144, allocations: 1.061 MB / 1.452 GB, free: 2.75 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.145, allocations: 95.39 kB / 1.452 GB, free: 2.656 MB / 1.17 GB Notification: Performance of SimCode: time 8.32e-07/1.145, allocations: 0 / 1.452 GB, free: 2.656 MB / 1.17 GB Notification: Performance of Templates: time 0.02859/1.173, allocations: 18.82 MB / 1.47 GB, free: 15.96 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches