Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 215 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 65.47 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 170 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.228/0.5755, allocations: 172.5 MB / 1.453 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.5966, allocations: 13.14 MB / 1.465 GB, free: 440 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.598, allocations: 47.56 kB / 1.465 GB, free: 392 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.6, allocations: 0.5047 MB / 1.466 GB, free: 15.88 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.6057, allocations: 1.942 MB / 1.468 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.6084, allocations: 0.899 MB / 1.469 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.6131, allocations: 2.629 MB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.6148, allocations: 0.8029 MB / 1.472 GB, free: 9.57 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.6198, allocations: 1.685 MB / 1.474 GB, free: 7.898 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.6217, allocations: 0.9943 MB / 1.475 GB, free: 6.902 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.6219, allocations: 108 kB / 1.475 GB, free: 6.797 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.624, allocations: 0.939 MB / 1.476 GB, free: 5.855 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.6246, allocations: 0.5064 MB / 1.476 GB, free: 5.348 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.6253, allocations: 0.529 MB / 1.477 GB, free: 4.816 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.6285, allocations: 1.9 MB / 1.479 GB, free: 2.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6285, allocations: 0 / 1.479 GB, free: 2.91 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6285, allocations: 0 / 1.479 GB, free: 2.91 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.6286, allocations: 0 / 1.479 GB, free: 2.91 MB / 1.17 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.002455/0.631, allocations: 1.403 MB / 1.48 GB, free: 1.473 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6311, allocations: 12.03 kB / 1.48 GB, free: 1.461 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.63e-05/0.6311, allocations: 26 kB / 1.48 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.6313, allocations: 143.6 kB / 1.48 GB, free: 1.285 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.6327, allocations: 259 kB / 1.48 GB, free: 1.031 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.6342, allocations: 0.7284 MB / 1.481 GB, free: 284 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.6343, allocations: 66 kB / 1.481 GB, free: 216 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.6344, allocations: 99.95 kB / 1.481 GB, free: 116 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.6364, allocations: 1.294 MB / 1.483 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6364, allocations: 7.875 kB / 1.483 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.6365, allocations: 40 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.6366, allocations: 34 kB / 1.483 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.6381, allocations: 0.9015 MB / 1.483 GB, free: 13.73 MB / 1.186 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.005659/0.6438, allocations: 4.145 MB / 1.488 GB, free: 9.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.6447, allocations: 0.5091 MB / 1.488 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.6452, allocations: 294.6 kB / 1.488 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.6457, allocations: 80.36 kB / 1.488 GB, free: 8.566 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6458, allocations: 42.98 kB / 1.488 GB, free: 8.516 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 3.857e-06/0.6458, allocations: 0 / 1.488 GB, free: 8.516 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001987/0.6477, allocations: 0.803 MB / 1.489 GB, free: 7.707 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.6478, allocations: 63.78 kB / 1.489 GB, free: 7.629 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6491, allocations: 0.751 MB / 1.49 GB, free: 6.871 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6492, allocations: 37.7 kB / 1.49 GB, free: 6.828 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.6498, allocations: 0.5234 MB / 1.491 GB, free: 6.297 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.65, allocations: 186.4 kB / 1.491 GB, free: 6.113 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.6503, allocations: 134.6 kB / 1.491 GB, free: 5.973 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6505, allocations: 338 kB / 1.491 GB, free: 5.637 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.6509, allocations: 249.8 kB / 1.491 GB, free: 5.395 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008274/0.6517, allocations: 0.8269 MB / 1.492 GB, free: 4.367 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6528, allocations: 0.8034 MB / 1.493 GB, free: 3.457 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6528, allocations: 0 / 1.493 GB, free: 3.457 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00161/0.6544, allocations: 0.8589 MB / 1.494 GB, free: 2.594 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.6545, allocations: 8 kB / 1.494 GB, free: 2.586 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6545, allocations: 8 kB / 1.494 GB, free: 2.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.581e-05/0.6545, allocations: 12 kB / 1.494 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.6551, allocations: 151.8 kB / 1.494 GB, free: 2.418 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.531e-05/0.6552, allocations: 23.86 kB / 1.494 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.6559, allocations: 91.33 kB / 1.494 GB, free: 2.305 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.656, allocations: 32 kB / 1.494 GB, free: 2.273 MB / 1.186 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.0005468/0.6566, allocations: 342.4 kB / 1.494 GB, free: 1.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6567, allocations: 87.44 kB / 1.495 GB, free: 1.844 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.6578, allocations: 0.6179 MB / 1.495 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6578, allocations: 8 kB / 1.495 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6578, allocations: 0 / 1.495 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007638/0.6586, allocations: 0.5249 MB / 1.496 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.6612, allocations: 1.534 MB / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6612, allocations: 0 / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.6618, allocations: 111.8 kB / 1.497 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.6618, allocations: 4 kB / 1.497 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.6618, allocations: 15.98 kB / 1.497 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6618, allocations: 4 kB / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6618, allocations: 4 kB / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.6633, allocations: 1.027 MB / 1.498 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6636, allocations: 151.3 kB / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.6637, allocations: 16.12 kB / 1.498 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.6642, allocations: 15 kB / 1.498 GB, free: 13.69 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.6643, allocations: 39.92 kB / 1.499 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.6643, allocations: 19.98 kB / 1.499 GB, free: 13.63 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000681/0.665, allocations: 0.5146 MB / 1.499 GB, free: 13.12 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.665, allocations: 0 / 1.499 GB, free: 13.12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000938/0.6659, allocations: 295.5 kB / 1.499 GB, free: 12.83 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.002092/0.668, allocations: 1.68 MB / 1.501 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.669, allocations: 0.5886 MB / 1.502 GB, free: 10.52 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.669, allocations: 0 / 1.502 GB, free: 10.52 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.6694, allocations: 256.2 kB / 1.502 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6713, allocations: 444.2 kB / 1.502 GB, free: 9.844 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.6816, allocations: 7.222 MB / 1.509 GB, free: 2.227 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.6823, allocations: 0.5352 MB / 1.51 GB, free: 1.66 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009792/0.6832, allocations: 263.1 kB / 1.51 GB, free: 1.398 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.6838, allocations: 363.3 kB / 1.51 GB, free: 1.043 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/0.6838, allocations: 0 / 1.51 GB, free: 1.043 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/0.7432, allocations: 25.21 MB / 1.535 GB, free: 8.473 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.08, allocations: 7.938 kB / 1.535 GB, free: 8.465 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.019569501047954]