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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 152 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.001282/0.001282, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.17/2.17, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.88 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4902, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1328/0.6231, allocations: 149.1 MB / 1.095 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.6266, allocations: 3.614 MB / 1.099 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.6267, allocations: 0 / 1.099 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.6271, allocations: 71.56 kB / 1.099 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.6273, allocations: 131.2 kB / 1.099 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.6293, allocations: 1.015 MB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.6295, allocations: 311.8 kB / 1.1 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.6296, allocations: 13.56 kB / 1.1 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.6299, allocations: 191.1 kB / 1.101 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.63, allocations: 135.5 kB / 1.101 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.6301, allocations: 8 kB / 1.101 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.6316, allocations: 1.216 MB / 1.102 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.6317, allocations: 71.78 kB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.6318, allocations: 111.5 kB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.6327, allocations: 0.6373 MB / 1.103 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6327, allocations: 0 / 1.103 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6328, allocations: 0 / 1.103 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6328, allocations: 4 kB / 1.103 GB, free: 4.641 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.0009069/0.6337, allocations: 0.5849 MB / 1.103 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.6337, allocations: 12.03 kB / 1.103 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.6338, allocations: 54.73 kB / 1.103 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6349, allocations: 132.6 kB / 1.103 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.6351, allocations: 231.7 kB / 1.104 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6351, allocations: 12.38 kB / 1.104 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.6352, allocations: 23.98 kB / 1.104 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.6356, allocations: 326.1 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6356, allocations: 11.92 kB / 1.104 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.6357, allocations: 8 kB / 1.104 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.6357, allocations: 19.98 kB / 1.104 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.6362, allocations: 324.1 kB / 1.104 GB, free: 2.812 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.001373/0.6376, allocations: 1.109 MB / 1.105 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.638, allocations: 186.4 kB / 1.106 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.6382, allocations: 84.75 kB / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/0.6386, allocations: 461.5 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.6387, allocations: 38.55 kB / 1.106 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.6387, allocations: 0 / 1.106 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005842/0.6393, allocations: 267 kB / 1.106 GB, free: 488 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.6393, allocations: 51.41 kB / 1.106 GB, free: 424 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.6395, allocations: 199.2 kB / 1.107 GB, free: 212 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.6395, allocations: 29.7 kB / 1.107 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.6396, allocations: 151.9 kB / 1.107 GB, free: 20 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.6396, allocations: 75.11 kB / 1.107 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.6397, allocations: 49.7 kB / 1.107 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.6398, allocations: 326.8 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.6399, allocations: 72.22 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.6401, allocations: 160.7 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.6404, allocations: 248.4 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6404, allocations: 3.938 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004698/0.6409, allocations: 289.4 kB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6409, allocations: 4 kB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6409, allocations: 4 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6409, allocations: 11.88 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.6412, allocations: 56.3 kB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6412, allocations: 11.98 kB / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.6414, allocations: 31.69 kB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.6414, allocations: 8 kB / 1.108 GB, free: 14.6 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 0.0001042/0.6415, allocations: 137.8 kB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6417, allocations: 19.92 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.6421, allocations: 293 kB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6421, allocations: 8 kB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6421, allocations: 0 / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6421, allocations: 4 kB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.6427, allocations: 0.5817 MB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6427, allocations: 0 / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.6429, allocations: 39.92 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6429, allocations: 0 / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.643, allocations: 4 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.643, allocations: 4.062 kB / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.643, allocations: 0 / 1.109 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.6434, allocations: 344.8 kB / 1.109 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.6435, allocations: 120.8 kB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.6436, allocations: 4 kB / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.6438, allocations: 15.94 kB / 1.11 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.6438, allocations: 19.97 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.6439, allocations: 11.98 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001068/0.644, allocations: 152.3 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.644, allocations: 0 / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004095/0.6444, allocations: 112 kB / 1.11 GB, free: 12.64 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.0008937/0.6453, allocations: 1.014 MB / 1.111 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.6457, allocations: 224.5 kB / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6457, allocations: 0 / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.6458, allocations: 98.08 kB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.6464, allocations: 92.78 kB / 1.111 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.6488, allocations: 2.492 MB / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6491, allocations: 0.7405 MB / 1.114 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.6493, allocations: 62.23 kB / 1.114 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.6494, allocations: 59.41 kB / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.6494, allocations: 0 / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.352/3.001, allocations: 7.662 MB / 1.122 GB, free: 108 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/13.07, allocations: 3.938 kB / 1.122 GB, free: 104 kB / 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