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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008999/0.0008999, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004559/0.004559, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5489, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.126/0.6749, allocations: 145 MB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.6784, allocations: 3.622 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.6784, allocations: 0 / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.6786, allocations: 63.7 kB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.6788, allocations: 127.3 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.6805, allocations: 0.9357 MB / 1.101 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.6809, allocations: 0.4955 MB / 1.102 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.6809, allocations: 13.56 kB / 1.102 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.6812, allocations: 175.2 kB / 1.102 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.6814, allocations: 139.5 kB / 1.102 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.6814, allocations: 8 kB / 1.102 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.6831, allocations: 1.531 MB / 1.104 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.6831, allocations: 75.78 kB / 1.104 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.6833, allocations: 133.2 kB / 1.104 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.6841, allocations: 0.7306 MB / 1.105 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.6841, allocations: 4 kB / 1.105 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6841, allocations: 0 / 1.105 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.6841, allocations: 0 / 1.105 GB, free: 5.773 MB / 0.8575 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.0007318/0.6848, allocations: 0.5498 MB / 1.105 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.6849, allocations: 12.03 kB / 1.105 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.6849, allocations: 58.73 kB / 1.105 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.686, allocations: 132.6 kB / 1.105 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.6861, allocations: 219.8 kB / 1.106 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6862, allocations: 16.31 kB / 1.106 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.6862, allocations: 20 kB / 1.106 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.6866, allocations: 342.1 kB / 1.106 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6867, allocations: 0 / 1.106 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.6867, allocations: 12 kB / 1.106 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.6867, allocations: 15.94 kB / 1.106 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.6872, allocations: 320.1 kB / 1.106 GB, free: 3.988 MB / 0.8575 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.001497/0.6887, allocations: 1.105 MB / 1.107 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.6891, allocations: 195 kB / 1.107 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6892, allocations: 88.75 kB / 1.108 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004301/0.6897, allocations: 457.5 kB / 1.108 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.6897, allocations: 34.56 kB / 1.108 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.6897, allocations: 0 / 1.108 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.000553/0.6903, allocations: 263.1 kB / 1.108 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.6903, allocations: 59.41 kB / 1.108 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.6905, allocations: 203.1 kB / 1.109 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6905, allocations: 33.7 kB / 1.109 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.6906, allocations: 144 kB / 1.109 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.6906, allocations: 74.84 kB / 1.109 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.6907, allocations: 29.7 kB / 1.109 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.6908, allocations: 326.8 kB / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.6909, allocations: 76.22 kB / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.691, allocations: 152.8 kB / 1.109 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6913, allocations: 254.5 kB / 1.11 GB, free: 212 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6913, allocations: 3.938 kB / 1.11 GB, free: 208 kB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004574/0.6918, allocations: 277.1 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.6918, allocations: 4.375 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6918, allocations: 11.98 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.6918, allocations: 7.938 kB / 1.11 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.6921, allocations: 59.92 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6921, allocations: 4 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.6923, allocations: 31.67 kB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6923, allocations: 15.94 kB / 1.11 GB, free: 15.79 MB / 0.8731 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 9.891e-05/0.6924, allocations: 133.8 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6925, allocations: 27.91 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.693, allocations: 289 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.693, allocations: 8 kB / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.693, allocations: 4 kB / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.693, allocations: 0 / 1.11 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.6936, allocations: 0.5863 MB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6936, allocations: 0 / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.6938, allocations: 31.98 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6938, allocations: 4 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6938, allocations: 0 / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6938, allocations: 7.938 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6938, allocations: 0 / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.6943, allocations: 350.1 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.6944, allocations: 116.8 kB / 1.111 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.6944, allocations: 3.984 kB / 1.111 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.6946, allocations: 16 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.6947, allocations: 11.98 kB / 1.111 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.6947, allocations: 15.98 kB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001052/0.6948, allocations: 164.2 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6948, allocations: 0 / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003836/0.6952, allocations: 108 kB / 1.112 GB, free: 13.83 MB / 0.8731 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.0008634/0.6961, allocations: 1 MB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.6964, allocations: 201.7 kB / 1.113 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6964, allocations: 8.125 kB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.6965, allocations: 107.8 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.6971, allocations: 89.39 kB / 1.113 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6994, allocations: 2.595 MB / 1.116 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.6997, allocations: 0.7328 MB / 1.116 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.6999, allocations: 58.25 kB / 1.116 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.7, allocations: 59.41 kB / 1.116 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7, allocations: 0 / 1.116 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9035/1.604, allocations: 7.299 MB / 1.124 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.604, allocations: 186.8 kB / 1.124 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.323, allocations: 0 / 1.124 GB, free: 1.387 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/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