Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_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.006558/0.006558, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001533/0.001533, allocations: 196 kB / 16.68 MB, free: 5.969 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7826/0.784, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1779/0.962, allocations: 149.1 MB / 1.233 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.9663, allocations: 3.605 MB / 1.237 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.9665, allocations: 5 kB / 1.237 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.9669, allocations: 69.06 kB / 1.237 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.9673, allocations: 141.3 kB / 1.237 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.9701, allocations: 1.041 MB / 1.238 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.9706, allocations: 317.1 kB / 1.238 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.9706, allocations: 13.84 kB / 1.238 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.9711, allocations: 195.1 kB / 1.238 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.9714, allocations: 136.3 kB / 1.238 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.9714, allocations: 11.03 kB / 1.238 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.9736, allocations: 1.225 MB / 1.24 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.9737, allocations: 69.78 kB / 1.24 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.9739, allocations: 106.1 kB / 1.24 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.9752, allocations: 0.6412 MB / 1.24 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9753, allocations: 1.406 kB / 1.24 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9753, allocations: 4 kB / 1.24 GB, free: 60 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.9753, allocations: 0 / 1.24 GB, free: 60 kB / 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.001208/0.9765, allocations: 0.5891 MB / 1.241 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9765, allocations: 9.031 kB / 1.241 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.9766, allocations: 58.94 kB / 1.241 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.9778, allocations: 136.1 kB / 1.241 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.9781, allocations: 227.1 kB / 1.241 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9782, allocations: 15.36 kB / 1.241 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.9782, allocations: 21.16 kB / 1.242 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.9788, allocations: 332.6 kB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9788, allocations: 5.031 kB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.9788, allocations: 16.16 kB / 1.242 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.9789, allocations: 18.91 kB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.9794, allocations: 318.1 kB / 1.242 GB, free: 14.77 MB / 0.9825 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.001577/0.981, allocations: 1.12 MB / 1.243 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.9815, allocations: 187.3 kB / 1.243 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.9816, allocations: 90.92 kB / 1.244 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/0.9822, allocations: 461.2 kB / 1.244 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.9822, allocations: 33.16 kB / 1.244 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.9822, allocations: 0 / 1.244 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006797/0.9829, allocations: 265.3 kB / 1.244 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.983, allocations: 55.39 kB / 1.244 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.9832, allocations: 211.1 kB / 1.245 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.9832, allocations: 29.7 kB / 1.245 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.9833, allocations: 144.3 kB / 1.245 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.9833, allocations: 71.33 kB / 1.245 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.9834, allocations: 57.7 kB / 1.245 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9835, allocations: 326.8 kB / 1.245 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.9837, allocations: 72.22 kB / 1.245 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.9838, allocations: 156.7 kB / 1.245 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.9842, allocations: 258.7 kB / 1.246 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9842, allocations: 3.938 kB / 1.246 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005143/0.9847, allocations: 287.5 kB / 1.246 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9847, allocations: 4.375 kB / 1.246 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9847, allocations: 8 kB / 1.246 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9848, allocations: 7.938 kB / 1.246 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.985, allocations: 59.91 kB / 1.246 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.9851, allocations: 4 kB / 1.246 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.9853, allocations: 31.73 kB / 1.246 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.9853, allocations: 12 kB / 1.246 GB, free: 11.03 MB / 0.9825 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.0001259/0.9855, allocations: 142.2 kB / 1.246 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.9856, allocations: 23.89 kB / 1.246 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.9861, allocations: 281.6 kB / 1.246 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.9861, allocations: 7.984 kB / 1.246 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9861, allocations: 112 / 1.246 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9861, allocations: 3.938 kB / 1.246 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.9868, allocations: 0.583 MB / 1.247 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9868, allocations: 3.984 kB / 1.247 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.987, allocations: 39.92 kB / 1.247 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.987, allocations: 4.062 kB / 1.247 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.9871, allocations: 4 kB / 1.247 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.9871, allocations: 0 / 1.247 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9871, allocations: 4 kB / 1.247 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.9876, allocations: 348.9 kB / 1.247 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.9877, allocations: 120.9 kB / 1.247 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.9878, allocations: 4 kB / 1.247 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.988, allocations: 11.98 kB / 1.247 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.9881, allocations: 19.92 kB / 1.248 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.9881, allocations: 8 kB / 1.248 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001223/0.9882, allocations: 156.3 kB / 1.248 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9882, allocations: 0 / 1.248 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005281/0.9888, allocations: 119.8 kB / 1.248 GB, free: 9.059 MB / 0.9825 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.001087/0.9899, allocations: 0.9966 MB / 1.249 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.9902, allocations: 205.7 kB / 1.249 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.9903, allocations: 8 kB / 1.249 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.9904, allocations: 100.8 kB / 1.249 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.991, allocations: 91.84 kB / 1.249 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.9938, allocations: 2.498 MB / 1.252 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.9941, allocations: 0.7445 MB / 1.252 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.9944, allocations: 54.25 kB / 1.252 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.9945, allocations: 55.42 kB / 1.252 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.9945, allocations: 0 / 1.252 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/1.021, allocations: 7.741 MB / 1.26 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.755, allocations: 9.516 kB / 1.26 GB, free: 12.48 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches