Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 196 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.513/2.513, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.69 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2368, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1646/0.4014, allocations: 183.3 MB / 1.232 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007158/0.4086, allocations: 4.866 MB / 1.237 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/0.4094, allocations: 31.81 kB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.4105, allocations: 437.3 kB / 1.237 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.4134, allocations: 1.416 MB / 1.238 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4151, allocations: 0.7679 MB / 1.239 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.4171, allocations: 1.844 MB / 1.241 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.4178, allocations: 0.5901 MB / 1.242 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.4193, allocations: 0.8755 MB / 1.242 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4203, allocations: 0.5406 MB / 1.243 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4205, allocations: 63.94 kB / 1.243 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.4225, allocations: 1.411 MB / 1.244 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.4228, allocations: 263.3 kB / 1.245 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.4232, allocations: 402 kB / 1.245 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.4249, allocations: 1.398 MB / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4249, allocations: 0 / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4249, allocations: 0 / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.425, allocations: 4 kB / 1.246 GB, free: 1.387 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001556/0.4265, allocations: 1.102 MB / 1.247 GB, free: 236 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.4266, allocations: 8.625 kB / 1.247 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.853e-05/0.4267, allocations: 82.53 kB / 1.248 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.389/0.8157, allocations: 213.6 kB / 1.248 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.8166, allocations: 0.5818 MB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.8167, allocations: 35.33 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.8168, allocations: 45.31 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.8176, allocations: 0.4947 MB / 1.249 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.8176, allocations: 3.938 kB / 1.249 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.8177, allocations: 19.62 kB / 1.249 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.8177, allocations: 16.39 kB / 1.249 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.8184, allocations: 435.8 kB / 1.249 GB, free: 197.1 MB / 0.9981 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.002114/0.8206, allocations: 2.026 MB / 1.251 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.8211, allocations: 343.4 kB / 1.252 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.8214, allocations: 212.8 kB / 1.252 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.8217, allocations: 192.9 kB / 1.252 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.8217, allocations: 44.62 kB / 1.252 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.8217, allocations: 1.125 kB / 1.252 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001036/0.8227, allocations: 0.5308 MB / 1.253 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.8228, allocations: 60.25 kB / 1.253 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.8232, allocations: 0.5095 MB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.8232, allocations: 32.05 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8234, allocations: 306.5 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.8235, allocations: 114.8 kB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.8235, allocations: 70.34 kB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.8236, allocations: 366.9 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.8238, allocations: 146.8 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.8241, allocations: 221.7 kB / 1.254 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.8246, allocations: 341 kB / 1.255 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8246, allocations: 0 / 1.255 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005834/0.8252, allocations: 429.7 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.8252, allocations: 9.594 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8252, allocations: 1.922 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8252, allocations: 2.938 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.8255, allocations: 81.38 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8255, allocations: 2.656 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.826, allocations: 38.97 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.826, allocations: 11.59 kB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003334/0.8263, allocations: 305.6 kB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000239/0.8266, allocations: 214.3 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004497/0.827, allocations: 334.7 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.8271, allocations: 0 / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005954/0.8277, allocations: 425.5 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.8277, allocations: 5.406 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.8277, allocations: 7.438 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-06/0.8277, allocations: 3.5 kB / 1.256 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.828, allocations: 72.72 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.828, allocations: 3.75 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.8284, allocations: 33.02 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.8284, allocations: 13 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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 7.903e-05/0.8285, allocations: 201.2 kB / 1.257 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.8286, allocations: 60.34 kB / 1.257 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006412/0.8292, allocations: 419.7 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8293, allocations: 2.5 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8293, allocations: 3.391 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004971/0.8298, allocations: 430.2 kB / 1.258 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.8312, allocations: 1.18 MB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8312, allocations: 3.469 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.8316, allocations: 86.55 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8316, allocations: 3.062 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.8316, allocations: 13.73 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8317, allocations: 3.953 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8317, allocations: 6.875 kB / 1.259 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.8325, allocations: 0.7057 MB / 1.26 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.8327, allocations: 176.8 kB / 1.26 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.8328, allocations: 8.641 kB / 1.26 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.8332, allocations: 31.95 kB / 1.26 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.8333, allocations: 29.45 kB / 1.26 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.8333, allocations: 15.95 kB / 1.26 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003233/0.8336, allocations: 363.4 kB / 1.26 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8336, allocations: 0 / 1.26 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006763/0.8343, allocations: 322.1 kB / 1.261 GB, free: 193.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.001264/0.8356, allocations: 1.334 MB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009223/0.8365, allocations: 0.5475 MB / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8365, allocations: 0 / 1.262 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.8368, allocations: 181.2 kB / 1.263 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8383, allocations: 354.2 kB / 1.263 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.8441, allocations: 4.729 MB / 1.267 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8445, allocations: 0.9342 MB / 1.268 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006862/0.8452, allocations: 185.2 kB / 1.269 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.8455, allocations: 222.3 kB / 1.269 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.8455, allocations: 0 / 1.269 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5505/1.396, allocations: 16.71 MB / 1.285 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/9.367, allocations: 5.203 kB / 1.285 GB, free: 184.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches