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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 100.1 kB / 15.88 MB, free: 12 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.001462/0.001462, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.356/2.356, allocations: 390.2 MB / 0.6649 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.8125 GB, free: 14.96 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6565, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.157/0.8135, allocations: 146.8 MB / 1.093 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.818, allocations: 3.684 MB / 1.097 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.8182, allocations: 4 kB / 1.097 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.8187, allocations: 55.7 kB / 1.097 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.8191, allocations: 123.4 kB / 1.097 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.8218, allocations: 0.9449 MB / 1.098 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.8223, allocations: 495.4 kB / 1.098 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.8224, allocations: 13.56 kB / 1.098 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.8229, allocations: 179.3 kB / 1.098 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.8231, allocations: 139.5 kB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.8232, allocations: 8 kB / 1.098 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.8257, allocations: 1.527 MB / 1.1 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.8258, allocations: 67.78 kB / 1.1 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.826, allocations: 107.5 kB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008654/0.8268, allocations: 453 kB / 1.101 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8269, allocations: 0 / 1.101 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8269, allocations: 4 kB / 1.101 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.8269, allocations: 0 / 1.101 GB, free: 7.004 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.001367/0.8283, allocations: 0.585 MB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8283, allocations: 12.03 kB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.8296, allocations: 128.6 kB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.8299, allocations: 220 kB / 1.101 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.8299, allocations: 20.31 kB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.8299, allocations: 16 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.8305, allocations: 350 kB / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8306, allocations: 0 / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.8306, allocations: 8 kB / 1.102 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.8306, allocations: 15.98 kB / 1.102 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.8312, allocations: 316.1 kB / 1.102 GB, free: 5.254 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.001701/0.8329, allocations: 1.121 MB / 1.103 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.8334, allocations: 190.4 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.8336, allocations: 88.8 kB / 1.104 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.8342, allocations: 457.5 kB / 1.104 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.8342, allocations: 38.5 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.8342, allocations: 0 / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0007009/0.8349, allocations: 258.5 kB / 1.104 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.835, allocations: 59.39 kB / 1.104 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.8352, allocations: 203.2 kB / 1.104 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.8352, allocations: 29.7 kB / 1.105 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.8353, allocations: 143.9 kB / 1.105 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.8354, allocations: 82.88 kB / 1.105 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.8355, allocations: 49.7 kB / 1.105 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8356, allocations: 330.8 kB / 1.105 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.8358, allocations: 68.22 kB / 1.105 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.836, allocations: 164.8 kB / 1.105 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.8363, allocations: 248.7 kB / 1.106 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8363, allocations: 0 / 1.106 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005366/0.8369, allocations: 284 kB / 1.106 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8369, allocations: 9.469 kB / 1.106 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8369, allocations: 8 kB / 1.106 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.837, allocations: 7.938 kB / 1.106 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.8372, allocations: 59.91 kB / 1.106 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.8373, allocations: 7.938 kB / 1.106 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.8375, allocations: 31.69 kB / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.8375, allocations: 15.98 kB / 1.106 GB, free: 1.016 MB / 0.8575 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.0001354/0.8377, allocations: 137.8 kB / 1.106 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.8378, allocations: 23.8 kB / 1.106 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.8383, allocations: 281.1 kB / 1.106 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.8383, allocations: 7.938 kB / 1.106 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8383, allocations: 0 / 1.106 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8383, allocations: 0 / 1.106 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.8391, allocations: 0.5933 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8391, allocations: 4 kB / 1.107 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.8393, allocations: 27.98 kB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.8393, allocations: 4 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.8393, allocations: 0 / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8393, allocations: 4 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8393, allocations: 3.938 kB / 1.107 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.8399, allocations: 354.4 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.84, allocations: 116.8 kB / 1.107 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.8401, allocations: 4 kB / 1.107 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.8403, allocations: 15.97 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.8404, allocations: 15.98 kB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.8404, allocations: 11.98 kB / 1.108 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001212/0.8405, allocations: 156.3 kB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8405, allocations: 0 / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005149/0.8411, allocations: 112 kB / 1.108 GB, free: 15.05 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.0004582/0.8415, allocations: 222.9 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003669/0.8419, allocations: 207.7 kB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8419, allocations: 0 / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.8421, allocations: 111.7 kB / 1.108 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.8427, allocations: 93.52 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.8436, allocations: 0.5535 MB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.8439, allocations: 0.7328 MB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.844, allocations: 27.42 kB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.844, allocations: 0 / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.00741/0.8514, allocations: 4.348 MB / 1.114 GB, free: 8.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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