Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001088/0.001088, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001053/0.001053, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8412, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2028/1.044, allocations: 195.1 MB / 1.358 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01714/1.061, allocations: 14.33 MB / 1.372 GB, free: 1.586 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/1.062, allocations: 39.75 kB / 1.372 GB, free: 1.547 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/1.064, allocations: 0.4968 MB / 1.372 GB, free: 1.047 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/1.069, allocations: 1.968 MB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/1.071, allocations: 0.8678 MB / 1.375 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003016/1.074, allocations: 2.577 MB / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.075, allocations: 1.115 MB / 1.379 GB, free: 10.48 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/1.08, allocations: 1.651 MB / 1.38 GB, free: 8.844 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/1.081, allocations: 0.9164 MB / 1.381 GB, free: 7.926 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002709/1.081, allocations: 108 kB / 1.381 GB, free: 7.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/1.084, allocations: 1.103 MB / 1.382 GB, free: 6.715 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006309/1.085, allocations: 0.5026 MB / 1.383 GB, free: 6.211 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.086, allocations: 0.6338 MB / 1.384 GB, free: 5.574 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005047/1.091, allocations: 1.913 MB / 1.385 GB, free: 3.656 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/1.091, allocations: 3.938 kB / 1.385 GB, free: 3.652 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.605e-06/1.091, allocations: 0 / 1.385 GB, free: 3.652 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.737e-05/1.091, allocations: 4 kB / 1.385 GB, free: 3.648 MB / 1.107 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.005008/1.096, allocations: 1.486 MB / 1.387 GB, free: 2.109 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.096, allocations: 8.031 kB / 1.387 GB, free: 2.102 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/1.098, allocations: 259 kB / 1.387 GB, free: 1.848 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/1.1, allocations: 0.8005 MB / 1.388 GB, free: 1.004 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/1.1, allocations: 70 kB / 1.388 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/1.1, allocations: 92 kB / 1.388 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/1.103, allocations: 1.177 MB / 1.389 GB, free: 15.6 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/1.103, allocations: 7.938 kB / 1.389 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/1.103, allocations: 39.94 kB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/1.103, allocations: 38 kB / 1.389 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.105, allocations: 0.9054 MB / 1.39 GB, free: 14.61 MB / 1.123 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.006855/1.112, allocations: 5.748 MB / 1.396 GB, free: 8.406 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/1.112, allocations: 0.5394 MB / 1.396 GB, free: 7.859 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/1.113, allocations: 322.5 kB / 1.397 GB, free: 7.543 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/1.114, allocations: 307.8 kB / 1.397 GB, free: 7.188 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.114, allocations: 39 kB / 1.397 GB, free: 7.141 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 3.466e-06/1.114, allocations: 0 / 1.397 GB, free: 7.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001629/1.115, allocations: 0.8031 MB / 1.398 GB, free: 6.332 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.115, allocations: 55.84 kB / 1.398 GB, free: 6.266 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.116, allocations: 0.751 MB / 1.399 GB, free: 5.504 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/1.117, allocations: 41.7 kB / 1.399 GB, free: 5.457 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/1.117, allocations: 0.5155 MB / 1.399 GB, free: 4.934 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.117, allocations: 186.4 kB / 1.399 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.117, allocations: 146.6 kB / 1.399 GB, free: 4.602 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.118, allocations: 337.9 kB / 1.4 GB, free: 4.266 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/1.118, allocations: 253.8 kB / 1.4 GB, free: 4.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/1.119, allocations: 0.5546 MB / 1.401 GB, free: 3.332 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.12, allocations: 0.7996 MB / 1.401 GB, free: 2.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.12, allocations: 0 / 1.401 GB, free: 2.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001421/1.121, allocations: 0.8434 MB / 1.402 GB, free: 1.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.121, allocations: 11.98 kB / 1.402 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.121, allocations: 11.94 kB / 1.402 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.121, allocations: 20.09 kB / 1.402 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/1.122, allocations: 147.8 kB / 1.402 GB, free: 1.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/1.122, allocations: 15.94 kB / 1.402 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/1.123, allocations: 95.33 kB / 1.402 GB, free: 1.273 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.123, allocations: 36 kB / 1.402 GB, free: 1.238 MB / 1.123 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.0004966/1.123, allocations: 337.3 kB / 1.403 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.123, allocations: 95.44 kB / 1.403 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.124, allocations: 0.614 MB / 1.403 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007398/1.125, allocations: 0.5134 MB / 1.404 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.125, allocations: 7.938 kB / 1.404 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/1.126, allocations: 228.4 kB / 1.404 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.126, allocations: 7.938 kB / 1.404 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/1.126, allocations: 19.98 kB / 1.404 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/1.126, allocations: 28.34 kB / 1.404 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00126/1.128, allocations: 0.6792 MB / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001349/1.129, allocations: 1.079 MB / 1.406 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003513/1.129, allocations: 271.2 kB / 1.406 GB, free: 13.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006883/1.13, allocations: 0.5146 MB / 1.407 GB, free: 12.79 MB / 1.139 GB Notification: Performance of Backend: time 4.81e-07/1.13, allocations: 0 / 1.407 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001774/1.132, allocations: 0.7399 MB / 1.407 GB, free: 12.07 MB / 1.139 GB Notification: Performance of SimCode: time 0.003911/1.136, allocations: 2.505 MB / 1.41 GB, free: 9.512 MB / 1.139 GB Notification: Performance of Templates: time 0.0294/1.165, allocations: 17.87 MB / 1.427 GB, free: 7.855 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches