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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001496/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 195 kB / 16.14 MB, free: 6.648 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5595, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1408/0.7004, allocations: 146.8 MB / 1.16 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004396/0.7048, allocations: 3.671 MB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.7049, allocations: 3.938 kB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.7052, allocations: 51.77 kB / 1.164 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.7056, allocations: 131.3 kB / 1.164 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.708, allocations: 0.9498 MB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.7085, allocations: 495.4 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.7085, allocations: 9.562 kB / 1.165 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.7089, allocations: 171.3 kB / 1.165 GB, free: 9.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.7091, allocations: 135.5 kB / 1.166 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.7091, allocations: 12 kB / 1.166 GB, free: 9.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.7114, allocations: 1.535 MB / 1.167 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.7115, allocations: 67.78 kB / 1.167 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.7116, allocations: 107.5 kB / 1.167 GB, free: 8.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.7128, allocations: 0.7345 MB / 1.168 GB, free: 7.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7129, allocations: 0 / 1.168 GB, free: 7.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7129, allocations: 0 / 1.168 GB, free: 7.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7129, allocations: 0 / 1.168 GB, free: 7.32 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.001087/0.714, allocations: 0.5929 MB / 1.169 GB, free: 6.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.714, allocations: 8.031 kB / 1.169 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.7141, allocations: 54.73 kB / 1.169 GB, free: 6.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.7153, allocations: 136.5 kB / 1.169 GB, free: 6.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.7156, allocations: 223.8 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.7156, allocations: 20.3 kB / 1.169 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.7156, allocations: 16 kB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.7162, allocations: 334.3 kB / 1.169 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7162, allocations: 4 kB / 1.169 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.7162, allocations: 11.98 kB / 1.169 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.7163, allocations: 12 kB / 1.169 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.7168, allocations: 328.1 kB / 1.17 GB, free: 5.488 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.001559/0.7184, allocations: 1.125 MB / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.7189, allocations: 190.5 kB / 1.171 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.719, allocations: 80.75 kB / 1.171 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.7196, allocations: 465.5 kB / 1.171 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7196, allocations: 38.56 kB / 1.171 GB, free: 3.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.7196, allocations: 0 / 1.171 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0006631/0.7203, allocations: 260 kB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.7203, allocations: 55.41 kB / 1.172 GB, free: 3.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.7205, allocations: 203.1 kB / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.7205, allocations: 37.69 kB / 1.172 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.7206, allocations: 139.9 kB / 1.172 GB, free: 2.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.7207, allocations: 78.94 kB / 1.172 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.7208, allocations: 53.61 kB / 1.172 GB, free: 2.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.7209, allocations: 326.8 kB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.721, allocations: 72.22 kB / 1.173 GB, free: 2.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.7212, allocations: 167.6 kB / 1.173 GB, free: 1.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.7215, allocations: 238.3 kB / 1.173 GB, free: 1.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7215, allocations: 7.938 kB / 1.173 GB, free: 1.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005101/0.722, allocations: 285.1 kB / 1.173 GB, free: 1.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.722, allocations: 8 kB / 1.173 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7221, allocations: 4.109 kB / 1.173 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7221, allocations: 11.88 kB / 1.173 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.7224, allocations: 52.3 kB / 1.173 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7224, allocations: 11.98 kB / 1.173 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.7226, allocations: 27.69 kB / 1.173 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.7227, allocations: 16 kB / 1.173 GB, free: 1.258 MB / 0.92 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.0001179/0.7228, allocations: 134 kB / 1.174 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7229, allocations: 23.72 kB / 1.174 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.7234, allocations: 292.6 kB / 1.174 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7234, allocations: 3.938 kB / 1.174 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7234, allocations: 4 kB / 1.174 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7235, allocations: 3.984 kB / 1.174 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.7242, allocations: 0.5831 MB / 1.174 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7242, allocations: 0 / 1.174 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.7244, allocations: 35.92 kB / 1.174 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7244, allocations: 0 / 1.174 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7244, allocations: 8.062 kB / 1.174 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7244, allocations: 3.984 kB / 1.175 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7244, allocations: 3.984 kB / 1.175 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.7249, allocations: 345.4 kB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.7251, allocations: 124.8 kB / 1.175 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.7251, allocations: 15.94 kB / 1.175 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.7254, allocations: 11.98 kB / 1.175 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.7254, allocations: 11.98 kB / 1.175 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.7255, allocations: 12 kB / 1.175 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001184/0.7256, allocations: 149.5 kB / 1.175 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7256, allocations: 0 / 1.175 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004695/0.7261, allocations: 119.9 kB / 1.175 GB, free: 15.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.001051/0.7271, allocations: 0.998 MB / 1.176 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.7275, allocations: 209.4 kB / 1.176 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7275, allocations: 0 / 1.176 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.7277, allocations: 107.7 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.7283, allocations: 92.67 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.7311, allocations: 2.566 MB / 1.179 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.7313, allocations: 0.7406 MB / 1.18 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.7316, allocations: 58.25 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7318, allocations: 55.42 kB / 1.18 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of SimCode: time 1.723e-06/0.7318, allocations: 0 / 1.18 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.7627, allocations: 7.38 MB / 1.187 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.7629, allocations: 189.9 kB / 1.187 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.873, allocations: 4.062 kB / 1.187 GB, free: 2.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirProperties.fmu > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/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