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.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.001866/0.001866, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.002109/0.002109, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.541/1.541, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 63.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8751, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2509/1.126, allocations: 195.8 MB / 1.46 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02013/1.146, allocations: 14.4 MB / 1.474 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/1.148, allocations: 35.81 kB / 1.474 GB, free: 2.129 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/1.15, allocations: 0.5163 MB / 1.475 GB, free: 1.609 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005654/1.155, allocations: 1.968 MB / 1.476 GB, free: 15.63 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/1.158, allocations: 0.8636 MB / 1.477 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004395/1.163, allocations: 2.569 MB / 1.48 GB, free: 12.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/1.164, allocations: 0.9274 MB / 1.481 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/1.169, allocations: 1.651 MB / 1.482 GB, free: 9.602 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/1.171, allocations: 0.979 MB / 1.483 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/1.171, allocations: 108 kB / 1.483 GB, free: 8.516 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/1.173, allocations: 1.161 MB / 1.485 GB, free: 7.352 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005877/1.174, allocations: 0.5064 MB / 1.485 GB, free: 6.844 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/1.175, allocations: 0.6494 MB / 1.486 GB, free: 6.191 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/1.178, allocations: 1.911 MB / 1.488 GB, free: 4.273 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.178, allocations: 0 / 1.488 GB, free: 4.273 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.824e-06/1.178, allocations: 0 / 1.488 GB, free: 4.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.178, allocations: 0 / 1.488 GB, free: 4.273 MB / 1.186 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.002383/1.18, allocations: 1.482 MB / 1.489 GB, free: 2.738 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.18, allocations: 12.03 kB / 1.489 GB, free: 2.727 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/1.18, allocations: 151.5 kB / 1.489 GB, free: 2.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/1.182, allocations: 266.9 kB / 1.489 GB, free: 2.309 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/1.183, allocations: 0.7811 MB / 1.49 GB, free: 1.48 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/1.183, allocations: 74 kB / 1.49 GB, free: 1.41 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.183, allocations: 91.98 kB / 1.49 GB, free: 1.32 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/1.185, allocations: 1.173 MB / 1.491 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.185, allocations: 7.984 kB / 1.491 GB, free: 68 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/1.185, allocations: 39.94 kB / 1.492 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/1.185, allocations: 41.97 kB / 1.492 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/1.187, allocations: 0.9053 MB / 1.492 GB, free: 15.08 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.00662/1.193, allocations: 5.752 MB / 1.498 GB, free: 8.879 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/1.194, allocations: 0.5159 MB / 1.499 GB, free: 8.352 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/1.195, allocations: 299.1 kB / 1.499 GB, free: 8.055 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/1.195, allocations: 311.7 kB / 1.499 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.195, allocations: 47 kB / 1.499 GB, free: 7.641 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/1.195, allocations: 0 / 1.499 GB, free: 7.641 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.001601/1.197, allocations: 0.8069 MB / 1.5 GB, free: 6.828 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.197, allocations: 55.84 kB / 1.5 GB, free: 6.762 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/1.198, allocations: 0.751 MB / 1.501 GB, free: 6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/1.198, allocations: 33.7 kB / 1.501 GB, free: 5.961 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.199, allocations: 0.5155 MB / 1.501 GB, free: 5.438 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/1.199, allocations: 194.4 kB / 1.501 GB, free: 5.246 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.199, allocations: 142.6 kB / 1.502 GB, free: 5.102 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.199, allocations: 337.9 kB / 1.502 GB, free: 4.766 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/1.199, allocations: 245.9 kB / 1.502 GB, free: 4.523 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/1.2, allocations: 0.5546 MB / 1.503 GB, free: 3.832 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.201, allocations: 0.7995 MB / 1.504 GB, free: 2.926 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.201, allocations: 4 kB / 1.504 GB, free: 2.922 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00135/1.203, allocations: 0.8463 MB / 1.504 GB, free: 2.066 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.203, allocations: 8.969 kB / 1.504 GB, free: 2.059 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.203, allocations: 8 kB / 1.504 GB, free: 2.051 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.203, allocations: 16.05 kB / 1.504 GB, free: 2.035 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/1.203, allocations: 163.7 kB / 1.505 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.203, allocations: 15.94 kB / 1.505 GB, free: 1.859 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/1.204, allocations: 91.33 kB / 1.505 GB, free: 1.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/1.204, allocations: 32 kB / 1.505 GB, free: 1.738 MB / 1.201 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.0004818/1.205, allocations: 340 kB / 1.505 GB, free: 1.398 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/1.205, allocations: 91.44 kB / 1.505 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.206, allocations: 0.6218 MB / 1.506 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.206, allocations: 7.984 kB / 1.506 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.206, allocations: 0 / 1.506 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000753/1.206, allocations: 0.5211 MB / 1.506 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/1.209, allocations: 1.667 MB / 1.508 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.209, allocations: 0 / 1.508 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/1.21, allocations: 111.9 kB / 1.508 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.21, allocations: 4 kB / 1.508 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/1.21, allocations: 15.98 kB / 1.508 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.21, allocations: 4.219 kB / 1.508 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.21, allocations: 11.94 kB / 1.508 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.211, allocations: 1.023 MB / 1.509 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/1.211, allocations: 228.5 kB / 1.509 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/1.212, allocations: 12 kB / 1.509 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/1.212, allocations: 16 kB / 1.509 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/1.212, allocations: 39.67 kB / 1.509 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/1.212, allocations: 23.98 kB / 1.509 GB, free: 12.86 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006816/1.213, allocations: 0.5107 MB / 1.51 GB, free: 12.35 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.213, allocations: 4 kB / 1.51 GB, free: 12.35 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009332/1.214, allocations: 299.4 kB / 1.51 GB, free: 12.05 MB / 1.217 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.002286/1.216, allocations: 1.675 MB / 1.512 GB, free: 10.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.217, allocations: 0.584 MB / 1.512 GB, free: 9.758 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.217, allocations: 4 kB / 1.512 GB, free: 9.754 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.217, allocations: 263.4 kB / 1.513 GB, free: 9.496 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.219, allocations: 432.2 kB / 1.513 GB, free: 9.082 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.23, allocations: 7.228 MB / 1.52 GB, free: 1.469 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/1.231, allocations: 1.126 MB / 1.521 GB, free: 324 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008784/1.232, allocations: 271 kB / 1.521 GB, free: 48 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/1.233, allocations: 359.4 kB / 1.522 GB, free: 15.69 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/1.233, allocations: 0 / 1.522 GB, free: 15.69 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/1.291, allocations: 23.23 MB / 1.544 GB, free: 8.824 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.946/11.24, allocations: 9.109 kB / 1.544 GB, free: 8.82 MB / 1.248 GB " [Timeout remaining time 289] (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_2/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: 17.468937208876014]