Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 115.7 kB / 16.42 MB, free: 6.473 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.001809/0.001809, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 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.131/2.131, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 60.14 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6879, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.204/0.892, allocations: 195.1 MB / 1.279 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.9083, allocations: 14.31 MB / 1.293 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.9094, allocations: 35.81 kB / 1.293 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.9108, allocations: 0.4968 MB / 1.294 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.9148, allocations: 1.972 MB / 1.296 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.9168, allocations: 0.8675 MB / 1.296 GB, free: 8.793 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.9193, allocations: 2.581 MB / 1.299 GB, free: 6.207 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.9205, allocations: 1.119 MB / 1.3 GB, free: 5.066 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.924, allocations: 1.647 MB / 1.302 GB, free: 3.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.9253, allocations: 0.9265 MB / 1.303 GB, free: 2.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.9254, allocations: 104 kB / 1.303 GB, free: 2.402 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.9274, allocations: 1.107 MB / 1.304 GB, free: 1.293 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004536/0.9279, allocations: 0.5026 MB / 1.304 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.9285, allocations: 0.6338 MB / 1.305 GB, free: 156 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.9308, allocations: 1.905 MB / 1.307 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9308, allocations: 4 kB / 1.307 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9308, allocations: 0 / 1.307 GB, free: 14.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.9308, allocations: 0 / 1.307 GB, free: 14.24 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002032/0.9329, allocations: 1.449 MB / 1.308 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.9329, allocations: 8.031 kB / 1.308 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.9343, allocations: 254.4 kB / 1.308 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.9356, allocations: 0.7921 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.9357, allocations: 70 kB / 1.309 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9359, allocations: 96 kB / 1.309 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.9376, allocations: 1.169 MB / 1.31 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.9376, allocations: 3.938 kB / 1.31 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.9377, allocations: 43.94 kB / 1.311 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.9378, allocations: 30 kB / 1.311 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.9392, allocations: 0.9093 MB / 1.311 GB, free: 9.254 MB / 1.045 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.005398/0.9446, allocations: 5.747 MB / 1.317 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.9455, allocations: 0.544 MB / 1.318 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.9459, allocations: 322.6 kB / 1.318 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.9465, allocations: 303.7 kB / 1.318 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.9465, allocations: 39 kB / 1.318 GB, free: 1.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=49): time 2.084e-06/0.9465, allocations: 0 / 1.318 GB, free: 1.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.001417/0.9479, allocations: 0.8104 MB / 1.319 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.948, allocations: 55.84 kB / 1.319 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.9488, allocations: 0.7508 MB / 1.32 GB, free: 144 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.9488, allocations: 37.7 kB / 1.32 GB, free: 100 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.9492, allocations: 0.5066 MB / 1.32 GB, free: 15.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.9494, allocations: 177.5 kB / 1.32 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.9496, allocations: 150.4 kB / 1.321 GB, free: 15.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9497, allocations: 337.9 kB / 1.321 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.9501, allocations: 245.8 kB / 1.321 GB, free: 14.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.9507, allocations: 0.5585 MB / 1.322 GB, free: 13.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.9516, allocations: 0.7917 MB / 1.322 GB, free: 13.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9516, allocations: 4 kB / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001195/0.9528, allocations: 0.8463 MB / 1.323 GB, free: 12.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9528, allocations: 11.98 kB / 1.323 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9529, allocations: 8 kB / 1.323 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.9529, allocations: 12 kB / 1.323 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.9534, allocations: 155.8 kB / 1.324 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.9535, allocations: 16.5 kB / 1.324 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.9542, allocations: 91.19 kB / 1.324 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.9542, allocations: 35.94 kB / 1.324 GB, free: 11.89 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0003936/0.9546, allocations: 333.4 kB / 1.324 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.9548, allocations: 90.97 kB / 1.324 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.9557, allocations: 0.6218 MB / 1.325 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006872/0.9564, allocations: 0.5211 MB / 1.325 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.9564, allocations: 0 / 1.325 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.9568, allocations: 223.9 kB / 1.325 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9569, allocations: 15.94 kB / 1.325 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.9573, allocations: 13.11 kB / 1.325 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.9574, allocations: 28.41 kB / 1.325 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00118/0.9586, allocations: 0.6753 MB / 1.326 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.9599, allocations: 1.079 MB / 1.327 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003365/0.9602, allocations: 267.3 kB / 1.327 GB, free: 7.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005832/0.9608, allocations: 0.5107 MB / 1.328 GB, free: 7.465 MB / 1.061 GB Notification: Performance of Backend: time 6.82e-07/0.9608, allocations: 0 / 1.328 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.9625, allocations: 0.7447 MB / 1.329 GB, free: 6.734 MB / 1.061 GB Notification: Performance of SimCode: time 0.003583/0.9661, allocations: 2.463 MB / 1.331 GB, free: 4.223 MB / 1.061 GB Notification: Performance of Templates: time 0.02669/0.9928, allocations: 17.85 MB / 1.348 GB, free: 2.586 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches