Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9105, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2553/1.166, allocations: 195.8 MB / 1.495 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.19, allocations: 14.39 MB / 1.509 GB, free: 4.914 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/1.191, allocations: 40.16 kB / 1.509 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.193, allocations: 0.5098 MB / 1.51 GB, free: 4.473 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006107/1.199, allocations: 1.965 MB / 1.512 GB, free: 2.746 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/1.202, allocations: 0.8687 MB / 1.513 GB, free: 1.879 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004025/1.206, allocations: 2.576 MB / 1.515 GB, free: 15.3 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/1.208, allocations: 0.9313 MB / 1.516 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/1.213, allocations: 1.851 MB / 1.518 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/1.215, allocations: 0.9553 MB / 1.519 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.215, allocations: 108 kB / 1.519 GB, free: 11.44 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/1.218, allocations: 1.15 MB / 1.52 GB, free: 10.29 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006419/1.218, allocations: 0.5103 MB / 1.52 GB, free: 9.777 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009158/1.219, allocations: 0.6377 MB / 1.521 GB, free: 9.137 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/1.223, allocations: 1.927 MB / 1.523 GB, free: 7.203 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.223, allocations: 0 / 1.523 GB, free: 7.203 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.324e-06/1.223, allocations: 0 / 1.523 GB, free: 7.203 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.616e-05/1.223, allocations: 0 / 1.523 GB, free: 7.203 MB / 1.201 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.002697/1.225, allocations: 1.475 MB / 1.524 GB, free: 5.676 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.225, allocations: 12.03 kB / 1.524 GB, free: 5.664 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/1.226, allocations: 143.6 kB / 1.525 GB, free: 5.516 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.227, allocations: 266.9 kB / 1.525 GB, free: 5.254 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/1.229, allocations: 0.7967 MB / 1.526 GB, free: 4.414 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/1.229, allocations: 73.98 kB / 1.526 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.229, allocations: 95.95 kB / 1.526 GB, free: 4.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.231, allocations: 1.169 MB / 1.527 GB, free: 3.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.231, allocations: 3.938 kB / 1.527 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/1.231, allocations: 47.94 kB / 1.527 GB, free: 2.957 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/1.231, allocations: 34 kB / 1.527 GB, free: 2.926 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/1.233, allocations: 0.9015 MB / 1.528 GB, free: 2.02 MB / 1.201 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.007436/1.24, allocations: 5.819 MB / 1.534 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009357/1.241, allocations: 0.5237 MB / 1.534 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/1.241, allocations: 294.6 kB / 1.534 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/1.242, allocations: 315.7 kB / 1.535 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.242, allocations: 39 kB / 1.535 GB, free: 10.49 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/1.242, allocations: 4 kB / 1.535 GB, free: 10.49 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.001689/1.244, allocations: 0.8069 MB / 1.535 GB, free: 9.672 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/1.244, allocations: 59.83 kB / 1.536 GB, free: 9.602 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.245, allocations: 0.7432 MB / 1.536 GB, free: 8.852 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/1.245, allocations: 37.7 kB / 1.536 GB, free: 8.809 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/1.245, allocations: 0.5194 MB / 1.537 GB, free: 8.281 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/1.246, allocations: 186.4 kB / 1.537 GB, free: 8.098 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.246, allocations: 142.6 kB / 1.537 GB, free: 7.949 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.246, allocations: 337.9 kB / 1.537 GB, free: 7.613 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/1.247, allocations: 253.8 kB / 1.538 GB, free: 7.367 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/1.247, allocations: 0.5508 MB / 1.538 GB, free: 6.684 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.248, allocations: 0.7956 MB / 1.539 GB, free: 5.777 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/1.248, allocations: 4 kB / 1.539 GB, free: 5.773 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001543/1.25, allocations: 0.8586 MB / 1.54 GB, free: 4.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.25, allocations: 12 kB / 1.54 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.25, allocations: 8 kB / 1.54 GB, free: 4.891 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.25, allocations: 15.98 kB / 1.54 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/1.251, allocations: 151.8 kB / 1.54 GB, free: 4.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/1.251, allocations: 19.92 kB / 1.54 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/1.251, allocations: 95.64 kB / 1.54 GB, free: 4.613 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/1.251, allocations: 39.92 kB / 1.54 GB, free: 4.574 MB / 1.217 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.0005045/1.252, allocations: 329.4 kB / 1.54 GB, free: 4.242 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/1.252, allocations: 91.42 kB / 1.541 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.253, allocations: 0.618 MB / 1.541 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.253, allocations: 4 kB / 1.541 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.253, allocations: 0 / 1.541 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000834/1.254, allocations: 0.525 MB / 1.542 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/1.257, allocations: 1.663 MB / 1.543 GB, free: 1.242 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.257, allocations: 4.219 kB / 1.543 GB, free: 1.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/1.257, allocations: 115.8 kB / 1.543 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.257, allocations: 4 kB / 1.543 GB, free: 1.121 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/1.257, allocations: 8 kB / 1.543 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.257, allocations: 4 kB / 1.543 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.257, allocations: 4 kB / 1.543 GB, free: 1.105 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/1.259, allocations: 1.035 MB / 1.544 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/1.259, allocations: 224.5 kB / 1.545 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/1.26, allocations: 16 kB / 1.545 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/1.26, allocations: 19.98 kB / 1.545 GB, free: 15.76 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/1.26, allocations: 27.97 kB / 1.545 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/1.26, allocations: 23.98 kB / 1.545 GB, free: 15.71 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008288/1.261, allocations: 0.5107 MB / 1.545 GB, free: 15.2 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.261, allocations: 0 / 1.545 GB, free: 15.2 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001093/1.262, allocations: 307.4 kB / 1.546 GB, free: 14.9 MB / 1.232 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.002468/1.265, allocations: 1.676 MB / 1.547 GB, free: 13.2 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001226/1.266, allocations: 0.5843 MB / 1.548 GB, free: 12.61 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.266, allocations: 0.5625 kB / 1.548 GB, free: 12.61 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004095/1.266, allocations: 259.8 kB / 1.548 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.268, allocations: 440.8 kB / 1.548 GB, free: 11.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.28, allocations: 7.247 MB / 1.556 GB, free: 4.297 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.281, allocations: 1.122 MB / 1.557 GB, free: 3.148 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009446/1.282, allocations: 271 kB / 1.557 GB, free: 2.879 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/1.283, allocations: 359.3 kB / 1.557 GB, free: 2.527 MB / 1.232 GB Notification: Performance of SimCode: time 8.42e-07/1.283, allocations: 0 / 1.557 GB, free: 2.527 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/1.342, allocations: 23.22 MB / 1.58 GB, free: 11.65 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.609/10.95, allocations: 1.25 kB / 1.58 GB, free: 11.65 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.322214954998344]