Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",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.001674/0.001674, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.93/1.93, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.491/4.491, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 58.8 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4063, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1824/0.5887, allocations: 147 MB / 1.196 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.5936, allocations: 3.599 MB / 1.199 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.5939, allocations: 0 / 1.199 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.5944, allocations: 55.7 kB / 1.2 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.5949, allocations: 123.4 kB / 1.2 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.5977, allocations: 0.9537 MB / 1.201 GB, free: 340 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.5982, allocations: 323.7 kB / 1.201 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.5982, allocations: 17.55 kB / 1.201 GB, free: 0 / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.5987, allocations: 183.3 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.5989, allocations: 147.5 kB / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.599, allocations: 15.94 kB / 1.201 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.6011, allocations: 1.274 MB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.6012, allocations: 67.84 kB / 1.203 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.6014, allocations: 107.5 kB / 1.203 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.6028, allocations: 0.7287 MB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6029, allocations: 3.984 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6029, allocations: 0 / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.6029, allocations: 4 kB / 1.203 GB, free: 13.47 MB / 0.9669 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.001306/0.6042, allocations: 0.5889 MB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6043, allocations: 8.625 kB / 1.204 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.6043, allocations: 54.73 kB / 1.204 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.6056, allocations: 136.5 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.6059, allocations: 227.8 kB / 1.204 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.6059, allocations: 12.38 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.6059, allocations: 19.98 kB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.6065, allocations: 338.2 kB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6066, allocations: 4 kB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.6066, allocations: 8 kB / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.6066, allocations: 19.92 kB / 1.205 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.6072, allocations: 320.1 kB / 1.205 GB, free: 11.65 MB / 0.9669 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.001632/0.6089, allocations: 1.101 MB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.6094, allocations: 193.6 kB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.6095, allocations: 88.73 kB / 1.206 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/0.6101, allocations: 457.4 kB / 1.207 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.6102, allocations: 42.5 kB / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.6102, allocations: 0 / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006689/0.6108, allocations: 258.8 kB / 1.207 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.6109, allocations: 55.41 kB / 1.207 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.6111, allocations: 211 kB / 1.207 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.6112, allocations: 33.7 kB / 1.207 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.6113, allocations: 144 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.6114, allocations: 63.02 kB / 1.208 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.6115, allocations: 57.59 kB / 1.208 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6116, allocations: 326.9 kB / 1.208 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6117, allocations: 76.16 kB / 1.208 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.6119, allocations: 159.6 kB / 1.208 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.6123, allocations: 249.1 kB / 1.208 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.6123, allocations: 7.938 kB / 1.208 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005444/0.6128, allocations: 273.1 kB / 1.209 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6129, allocations: 8.375 kB / 1.209 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6129, allocations: 8 kB / 1.209 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.6129, allocations: 7.938 kB / 1.209 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.6132, allocations: 55.91 kB / 1.209 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6132, allocations: 4 kB / 1.209 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6134, allocations: 35.67 kB / 1.209 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.6135, allocations: 12 kB / 1.209 GB, free: 7.438 MB / 0.9669 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.0001327/0.6136, allocations: 141.7 kB / 1.209 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6138, allocations: 31.7 kB / 1.209 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.6143, allocations: 280.5 kB / 1.209 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6143, allocations: 0 / 1.209 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6143, allocations: 4 kB / 1.209 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6143, allocations: 3.938 kB / 1.209 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.6151, allocations: 0.5909 MB / 1.21 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6152, allocations: 4.062 kB / 1.21 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.6155, allocations: 35.92 kB / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6155, allocations: 0 / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.6155, allocations: 8 kB / 1.21 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.6155, allocations: 0 / 1.21 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6156, allocations: 3.938 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.6164, allocations: 355.2 kB / 1.21 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.6166, allocations: 112.8 kB / 1.21 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.6167, allocations: 11.98 kB / 1.21 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.6171, allocations: 12 kB / 1.21 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.6172, allocations: 7.984 kB / 1.21 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.6173, allocations: 19.98 kB / 1.21 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002047/0.6175, allocations: 141.5 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6175, allocations: 8 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008791/0.6184, allocations: 123.8 kB / 1.211 GB, free: 5.457 MB / 0.9669 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.001807/0.6202, allocations: 0.9939 MB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.6209, allocations: 219.5 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.6209, allocations: 0.75 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.6212, allocations: 103.9 kB / 1.212 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6223, allocations: 103.9 kB / 1.212 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.6278, allocations: 2.562 MB / 1.215 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.6283, allocations: 0.7366 MB / 1.215 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.6287, allocations: 54.25 kB / 1.215 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.6289, allocations: 59.41 kB / 1.215 GB, free: 432 kB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/0.629, allocations: 0 / 1.215 GB, free: 432 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.984/2.613, allocations: 7.579 MB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/2.613, allocations: 195.8 kB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.997/7.61, allocations: 4 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches