Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_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.001618/0.001618, allocations: 108 kB / 15.6 MB, free: 132 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.001822/0.001822, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5365, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.14/0.6766, allocations: 149.1 MB / 1.163 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.6804, allocations: 3.61 MB / 1.167 GB, free: 9.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.6805, allocations: 0 / 1.167 GB, free: 9.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.6808, allocations: 67.62 kB / 1.167 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.6812, allocations: 131.2 kB / 1.167 GB, free: 9.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.6834, allocations: 1.015 MB / 1.168 GB, free: 7.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.6838, allocations: 323.6 kB / 1.168 GB, free: 7.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.6838, allocations: 9.562 kB / 1.168 GB, free: 7.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.6842, allocations: 187.2 kB / 1.168 GB, free: 7.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.6844, allocations: 127.5 kB / 1.168 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.6844, allocations: 12 kB / 1.168 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.6863, allocations: 1.216 MB / 1.17 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.6864, allocations: 75.72 kB / 1.17 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.6865, allocations: 107.5 kB / 1.17 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.6876, allocations: 0.6374 MB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6876, allocations: 4 kB / 1.17 GB, free: 5.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6876, allocations: 0 / 1.17 GB, free: 5.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.6876, allocations: 0 / 1.17 GB, free: 5.309 MB / 0.92 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.001014/0.6886, allocations: 0.5889 MB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6887, allocations: 8.031 kB / 1.171 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.6887, allocations: 54.73 kB / 1.171 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.6899, allocations: 132.6 kB / 1.171 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.6901, allocations: 227.8 kB / 1.171 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.6902, allocations: 16.38 kB / 1.171 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.6902, allocations: 16 kB / 1.171 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.6907, allocations: 334.3 kB / 1.172 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6907, allocations: 0 / 1.172 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.6908, allocations: 12 kB / 1.172 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.6908, allocations: 11.98 kB / 1.172 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.6913, allocations: 332 kB / 1.172 GB, free: 3.484 MB / 0.92 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.0015/0.6928, allocations: 1.121 MB / 1.173 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.6933, allocations: 198.4 kB / 1.173 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.6935, allocations: 88.69 kB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.694, allocations: 457.5 kB / 1.174 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.694, allocations: 38.55 kB / 1.174 GB, free: 1.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.694, allocations: 0 / 1.174 GB, free: 1.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0006474/0.6947, allocations: 264.9 kB / 1.174 GB, free: 1.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.6947, allocations: 51.41 kB / 1.174 GB, free: 1.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.6949, allocations: 207.1 kB / 1.174 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6949, allocations: 29.7 kB / 1.174 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.695, allocations: 147.9 kB / 1.174 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.6951, allocations: 78.94 kB / 1.175 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.6952, allocations: 53.61 kB / 1.175 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.6953, allocations: 326.8 kB / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6954, allocations: 68.22 kB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.6956, allocations: 167.7 kB / 1.175 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.6959, allocations: 238.9 kB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6959, allocations: 7.938 kB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004973/0.6964, allocations: 279.4 kB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6964, allocations: 4.109 kB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6964, allocations: 7.938 kB / 1.176 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6964, allocations: 11.88 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.6967, allocations: 60.3 kB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6968, allocations: 7.984 kB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.697, allocations: 31.69 kB / 1.176 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.697, allocations: 8 kB / 1.176 GB, free: 15.25 MB / 0.9356 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.0001138/0.6971, allocations: 137.8 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.6973, allocations: 23.81 kB / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.6977, allocations: 298.2 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6977, allocations: 4 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6978, allocations: 0 / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6978, allocations: 4 kB / 1.176 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.6985, allocations: 0.5836 MB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6985, allocations: 0 / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.6987, allocations: 31.98 kB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6987, allocations: 0 / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.6988, allocations: 8.062 kB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6988, allocations: 0 / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6988, allocations: 3.938 kB / 1.177 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.6993, allocations: 356.2 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6994, allocations: 124.8 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.6995, allocations: 8 kB / 1.177 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.6997, allocations: 8 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.6998, allocations: 15.98 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.6998, allocations: 11.98 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001317/0.7, allocations: 153.5 kB / 1.177 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7, allocations: 0 / 1.177 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004502/0.7004, allocations: 108 kB / 1.178 GB, free: 13.29 MB / 0.9356 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.001029/0.7015, allocations: 1.01 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.7018, allocations: 215.6 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7019, allocations: 0 / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.702, allocations: 105.9 kB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.7027, allocations: 100.7 kB / 1.179 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.7054, allocations: 2.488 MB / 1.181 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.7057, allocations: 0.7444 MB / 1.182 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000299/0.706, allocations: 54.25 kB / 1.182 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.7061, allocations: 59.41 kB / 1.182 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.7061, allocations: 0 / 1.182 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.7295, allocations: 7.673 MB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/8.063, allocations: 0 / 1.19 GB, free: 0.75 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_AirProperties.fmu > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches