Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 119.5 kB / 16.42 MB, free: 6.496 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.001031/0.001031, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1265/1.135, allocations: 112.7 MB / 1.199 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03487/1.17, allocations: 20.25 MB / 1.218 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0063/1.176, allocations: 109.1 kB / 1.219 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005004/1.181, allocations: 1.309 MB / 1.22 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/1.194, allocations: 3.872 MB / 1.224 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008981/1.203, allocations: 3.127 MB / 1.227 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01201/1.215, allocations: 7.231 MB / 1.234 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008355/1.224, allocations: 2.572 MB / 1.236 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009762/1.233, allocations: 2.903 MB / 1.239 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/1.238, allocations: 2.124 MB / 1.241 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001292/1.239, allocations: 256 kB / 1.241 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005948/1.245, allocations: 1.646 MB / 1.243 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/1.247, allocations: 0.7006 MB / 1.244 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003918/1.251, allocations: 1.508 MB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/1.26, allocations: 4.383 MB / 1.249 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.26, allocations: 4 kB / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.286e-06/1.26, allocations: 0 / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002153/1.26, allocations: 0 / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00811/1.268, allocations: 3.23 MB / 1.253 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.268, allocations: 12.03 kB / 1.253 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/1.27, allocations: 320.6 kB / 1.253 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/1.275, allocations: 2.198 MB / 1.255 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.275, allocations: 127 kB / 1.255 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/1.275, allocations: 164 kB / 1.255 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/1.279, allocations: 1.623 MB / 1.257 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/1.279, allocations: 4 kB / 1.257 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/1.279, allocations: 60 kB / 1.257 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/1.279, allocations: 47.94 kB / 1.257 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/1.282, allocations: 1.147 MB / 1.258 GB, free: 92 kB / 0.9825 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.01272/1.294, allocations: 7.92 MB / 1.266 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/1.295, allocations: 477.7 kB / 1.266 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/1.296, allocations: 327 kB / 1.267 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/1.297, allocations: 0.7524 MB / 1.267 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.297, allocations: 43.12 kB / 1.267 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.906e-06/1.297, allocations: 0 / 1.267 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.002376/1.299, allocations: 0.9919 MB / 1.268 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.299, allocations: 63.91 kB / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/1.304, allocations: 2.335 MB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.304, allocations: 41.7 kB / 1.271 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.306, allocations: 1.153 MB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/1.306, allocations: 217 kB / 1.272 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/1.306, allocations: 258.5 kB / 1.272 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.307, allocations: 349.9 kB / 1.273 GB, free: 448 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/1.307, allocations: 361.9 kB / 1.273 GB, free: 84 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/1.309, allocations: 0.7463 MB / 1.274 GB, free: 15.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.31, allocations: 0.9785 MB / 1.275 GB, free: 14.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/1.31, allocations: 3.938 kB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002786/1.313, allocations: 1.295 MB / 1.276 GB, free: 12.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.313, allocations: 10.34 kB / 1.276 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.313, allocations: 8 kB / 1.276 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/1.313, allocations: 16 kB / 1.276 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/1.314, allocations: 251.6 kB / 1.276 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-05/1.314, allocations: 23.92 kB / 1.276 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.316, allocations: 166.8 kB / 1.276 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.316, allocations: 55.98 kB / 1.276 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00139/1.318, allocations: 0.7563 MB / 1.277 GB, free: 11.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009524/1.318, allocations: 0.7388 MB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001333/1.32, allocations: 0.9522 MB / 1.279 GB, free: 9.523 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.787e-06/1.32, allocations: 4 kB / 1.279 GB, free: 9.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002435/1.322, allocations: 1.262 MB / 1.28 GB, free: 8.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.322, allocations: 8 kB / 1.28 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.322, allocations: 8 kB / 1.28 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.322, allocations: 12 kB / 1.28 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/1.323, allocations: 252.2 kB / 1.28 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/1.323, allocations: 23.92 kB / 1.28 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.325, allocations: 123.2 kB / 1.28 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/1.325, allocations: 51.98 kB / 1.281 GB, free: 7.781 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * 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.0002933/1.325, allocations: 247.9 kB / 1.281 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/1.326, allocations: 248.9 kB / 1.281 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.328, allocations: 0.8818 MB / 1.282 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009983/1.329, allocations: 0.6853 MB / 1.283 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.329, allocations: 0 / 1.283 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/1.33, allocations: 418 kB / 1.283 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.33, allocations: 12 kB / 1.283 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.331, allocations: 43.84 kB / 1.283 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.331, allocations: 36.52 kB / 1.283 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001491/1.333, allocations: 0.7876 MB / 1.284 GB, free: 4.363 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002033/1.335, allocations: 1.395 MB / 1.285 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004559/1.335, allocations: 316.4 kB / 1.285 GB, free: 2.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002713/1.338, allocations: 1.566 MB / 1.287 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Backend: time 9.12e-07/1.338, allocations: 4 kB / 1.287 GB, free: 1.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005882/1.344, allocations: 2.032 MB / 1.289 GB, free: 15.22 MB / 1.029 GB Notification: Performance of SimCode: time 0.01379/1.358, allocations: 5.175 MB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Templates: time 0.0937/1.452, allocations: 49.01 MB / 1.342 GB, free: 9.617 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches