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.00483/0.00483, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001196/0.001196, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 1.943/1.943, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6552, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1681/0.8234, allocations: 149.1 MB / 1.233 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.8275, allocations: 3.612 MB / 1.237 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.8276, allocations: 1.281 kB / 1.237 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.8279, allocations: 64.34 kB / 1.237 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.8282, allocations: 139.8 kB / 1.237 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.8305, allocations: 1.01 MB / 1.238 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.8308, allocations: 320 kB / 1.238 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.8309, allocations: 10.31 kB / 1.238 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.8312, allocations: 190 kB / 1.238 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.8314, allocations: 132.5 kB / 1.238 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.8314, allocations: 10.75 kB / 1.238 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.8331, allocations: 1.221 MB / 1.24 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.8332, allocations: 70.31 kB / 1.24 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.8334, allocations: 106.3 kB / 1.24 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.8342, allocations: 0.6401 MB / 1.24 GB, free: 92 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8342, allocations: 3.938 kB / 1.24 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8342, allocations: 0 / 1.24 GB, free: 88 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8342, allocations: 1.375 kB / 1.24 GB, free: 88 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.0009667/0.8352, allocations: 0.5769 MB / 1.241 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8353, allocations: 18.33 kB / 1.241 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.8353, allocations: 54.55 kB / 1.241 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.8364, allocations: 140.4 kB / 1.241 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.8366, allocations: 218 kB / 1.241 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.8367, allocations: 16.64 kB / 1.241 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.8367, allocations: 20.75 kB / 1.241 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.8372, allocations: 336.5 kB / 1.242 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8372, allocations: 1.281 kB / 1.242 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.8373, allocations: 18.61 kB / 1.242 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.8373, allocations: 15.64 kB / 1.242 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.8378, allocations: 319 kB / 1.242 GB, free: 14.82 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.001503/0.8393, allocations: 1.119 MB / 1.243 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.8398, allocations: 185.1 kB / 1.243 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.8399, allocations: 90.05 kB / 1.243 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.8404, allocations: 456.9 kB / 1.244 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.8405, allocations: 41.41 kB / 1.244 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.8405, allocations: 0 / 1.244 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006363/0.8411, allocations: 264.6 kB / 1.244 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.8412, allocations: 52.56 kB / 1.244 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.8413, allocations: 205.4 kB / 1.244 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.8414, allocations: 25.7 kB / 1.244 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.8415, allocations: 148 kB / 1.245 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.8415, allocations: 74.88 kB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.8416, allocations: 57.61 kB / 1.245 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8417, allocations: 326.8 kB / 1.245 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.8418, allocations: 76.22 kB / 1.245 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.842, allocations: 152.8 kB / 1.245 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.8423, allocations: 250.9 kB / 1.245 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.8423, allocations: 7.938 kB / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004644/0.8428, allocations: 274.8 kB / 1.246 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8428, allocations: 10.34 kB / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8428, allocations: 0 / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8428, allocations: 15.92 kB / 1.246 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.8431, allocations: 55.92 kB / 1.246 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8431, allocations: 7.938 kB / 1.246 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.8433, allocations: 35.97 kB / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.8434, allocations: 19.98 kB / 1.246 GB, free: 11.14 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.0001216/0.8435, allocations: 134.3 kB / 1.246 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.8436, allocations: 23.8 kB / 1.246 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.8441, allocations: 279.2 kB / 1.246 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.8441, allocations: 8 kB / 1.246 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.8441, allocations: 0 / 1.246 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8441, allocations: 0 / 1.246 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.8448, allocations: 0.6026 MB / 1.247 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8448, allocations: 4 kB / 1.247 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.845, allocations: 31.98 kB / 1.247 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.845, allocations: 4 kB / 1.247 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.845, allocations: 0 / 1.247 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.845, allocations: 4 kB / 1.247 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.845, allocations: 0 / 1.247 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.8455, allocations: 353.7 kB / 1.247 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.8456, allocations: 120.7 kB / 1.247 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.8457, allocations: 0 / 1.247 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.8459, allocations: 15.98 kB / 1.247 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.8459, allocations: 7.984 kB / 1.247 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.846, allocations: 23.98 kB / 1.247 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001187/0.8461, allocations: 152.3 kB / 1.248 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8461, allocations: 0 / 1.248 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004287/0.8465, allocations: 116 kB / 1.248 GB, free: 9.176 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.0009721/0.8475, allocations: 0.9893 MB / 1.249 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.8479, allocations: 204.4 kB / 1.249 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8479, allocations: 0 / 1.249 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.848, allocations: 111.8 kB / 1.249 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.8486, allocations: 95.97 kB / 1.249 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.8512, allocations: 2.5 MB / 1.252 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.8515, allocations: 0.7406 MB / 1.252 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002/0.8517, allocations: 54.25 kB / 1.252 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.8518, allocations: 59.36 kB / 1.252 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.8518, allocations: 0 / 1.252 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.9728, allocations: 7.731 MB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/9.38, allocations: 9.125 kB / 1.26 GB, free: 12.61 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 & /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