Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.001704/0.001704, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001927/0.001927, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.805/2.805, allocations: 476.7 MB / 0.7611 GB, free: 11.31 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.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.89 kB / 1.104 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8331, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1785/1.012, allocations: 149.5 MB / 1.415 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004805/1.016, allocations: 3.629 MB / 1.418 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/1.017, allocations: 0 / 1.418 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/1.017, allocations: 67.56 kB / 1.418 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/1.017, allocations: 139.3 kB / 1.419 GB, free: 11.17 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/1.02, allocations: 1.047 MB / 1.42 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004855/1.021, allocations: 315.8 kB / 1.42 GB, free: 9.809 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/1.021, allocations: 17.42 kB / 1.42 GB, free: 9.793 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/1.021, allocations: 201 kB / 1.42 GB, free: 9.598 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/1.021, allocations: 135.5 kB / 1.42 GB, free: 9.465 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/1.021, allocations: 12 kB / 1.42 GB, free: 9.453 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/1.024, allocations: 1.286 MB / 1.421 GB, free: 8.164 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/1.024, allocations: 75.72 kB / 1.422 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/1.024, allocations: 111.5 kB / 1.422 GB, free: 7.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/1.026, allocations: 0.6348 MB / 1.422 GB, free: 7.344 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.026, allocations: 0 / 1.422 GB, free: 7.344 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.572e-06/1.026, allocations: 0 / 1.422 GB, free: 7.344 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.026, allocations: 0 / 1.422 GB, free: 7.344 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001407/1.027, allocations: 0.5919 MB / 1.423 GB, free: 6.703 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.027, allocations: 12.03 kB / 1.423 GB, free: 6.691 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/1.027, allocations: 62.72 kB / 1.423 GB, free: 6.621 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/1.028, allocations: 128.7 kB / 1.423 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/1.029, allocations: 231.8 kB / 1.423 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.029, allocations: 12.38 kB / 1.423 GB, free: 6.219 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/1.029, allocations: 19.94 kB / 1.423 GB, free: 6.199 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/1.03, allocations: 334.3 kB / 1.424 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.03, allocations: 0 / 1.424 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.03, allocations: 8 kB / 1.424 GB, free: 5.84 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/1.03, allocations: 27.86 kB / 1.424 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/1.03, allocations: 324.1 kB / 1.424 GB, free: 5.496 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.001834/1.032, allocations: 1.102 MB / 1.425 GB, free: 4.305 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/1.033, allocations: 190.4 kB / 1.425 GB, free: 4.109 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/1.033, allocations: 80.73 kB / 1.425 GB, free: 4.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/1.033, allocations: 453.5 kB / 1.426 GB, free: 3.492 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.033, allocations: 38.47 kB / 1.426 GB, free: 3.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/1.033, allocations: 4 kB / 1.426 GB, free: 3.441 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0008173/1.034, allocations: 270.3 kB / 1.426 GB, free: 3.176 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.034, allocations: 55.39 kB / 1.426 GB, free: 3.109 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/1.034, allocations: 207.6 kB / 1.426 GB, free: 2.895 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/1.034, allocations: 33.7 kB / 1.426 GB, free: 2.855 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.035, allocations: 144.3 kB / 1.426 GB, free: 2.711 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/1.035, allocations: 75.31 kB / 1.427 GB, free: 2.637 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/1.035, allocations: 61.66 kB / 1.427 GB, free: 2.57 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.035, allocations: 330.9 kB / 1.427 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.035, allocations: 80.09 kB / 1.427 GB, free: 2.16 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/1.035, allocations: 152.2 kB / 1.427 GB, free: 1.973 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/1.036, allocations: 253.2 kB / 1.427 GB, free: 1.688 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.036, allocations: 3.938 kB / 1.427 GB, free: 1.684 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005682/1.036, allocations: 285.3 kB / 1.428 GB, free: 1.398 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.036, allocations: 7.938 kB / 1.428 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.036, allocations: 4 kB / 1.428 GB, free: 1.387 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.036, allocations: 7.938 kB / 1.428 GB, free: 1.379 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/1.037, allocations: 59.91 kB / 1.428 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.037, allocations: 4 kB / 1.428 GB, free: 1.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/1.037, allocations: 27.78 kB / 1.428 GB, free: 1.289 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.037, allocations: 16.28 kB / 1.428 GB, free: 1.273 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001452/1.037, allocations: 147.2 kB / 1.428 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.037, allocations: 27.84 kB / 1.428 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/1.038, allocations: 278.2 kB / 1.428 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.038, allocations: 3.984 kB / 1.428 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.038, allocations: 0 / 1.428 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.038, allocations: 0 / 1.428 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/1.038, allocations: 0.5895 MB / 1.429 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.038, allocations: 0 / 1.429 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/1.039, allocations: 35.98 kB / 1.429 GB, free: 132 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.039, allocations: 0 / 1.429 GB, free: 132 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.039, allocations: 4 kB / 1.429 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.039, allocations: 0 / 1.429 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.039, allocations: 7.875 kB / 1.429 GB, free: 120 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/1.039, allocations: 352.6 kB / 1.429 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/1.039, allocations: 120.9 kB / 1.429 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/1.039, allocations: 4 kB / 1.429 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/1.04, allocations: 11.98 kB / 1.429 GB, free: 15.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/1.04, allocations: 15.98 kB / 1.429 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/1.04, allocations: 11.98 kB / 1.429 GB, free: 15.57 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001515/1.04, allocations: 157.4 kB / 1.429 GB, free: 15.42 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.04, allocations: 3.938 kB / 1.429 GB, free: 15.42 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005113/1.04, allocations: 115.8 kB / 1.43 GB, free: 15.3 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001256/1.042, allocations: 0.9988 MB / 1.431 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000402/1.042, allocations: 196.4 kB / 1.431 GB, free: 14.08 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.042, allocations: 0 / 1.431 GB, free: 14.08 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/1.042, allocations: 103.9 kB / 1.431 GB, free: 13.98 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/1.043, allocations: 91.97 kB / 1.431 GB, free: 13.89 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/1.046, allocations: 2.5 MB / 1.433 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.047, allocations: 0.7367 MB / 1.434 GB, free: 10.47 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002637/1.047, allocations: 58.25 kB / 1.434 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.047, allocations: 55.42 kB / 1.434 GB, free: 10.36 MB / 1.139 GB Notification: Performance of SimCode: time 1.122e-06/1.047, allocations: 0 / 1.434 GB, free: 10.36 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/1.082, allocations: 7.779 MB / 1.442 GB, free: 2.707 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.688, allocations: 11.77 kB / 1.442 GB, free: 2.699 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.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: 15.719047370832413]