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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004887/0.004887, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001292/0.001292, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5934/0.8339, allocations: 149.1 MB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.837, allocations: 3.611 MB / 1.315 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.8371, allocations: 5.094 kB / 1.315 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.8374, allocations: 72.58 kB / 1.315 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.8377, allocations: 126.1 kB / 1.316 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.8396, allocations: 1.01 MB / 1.317 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.8399, allocations: 317.5 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.84, allocations: 19.08 kB / 1.317 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.8403, allocations: 196 kB / 1.317 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.8404, allocations: 134 kB / 1.317 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.8405, allocations: 10.84 kB / 1.317 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.8421, allocations: 1.216 MB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.8422, allocations: 72.81 kB / 1.318 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.8424, allocations: 104.8 kB / 1.319 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.8433, allocations: 0.642 MB / 1.319 GB, free: 11.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.8433, allocations: 0 / 1.319 GB, free: 11.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8433, allocations: 0.75 kB / 1.319 GB, free: 11.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8433, allocations: 0 / 1.319 GB, free: 11.53 MB / 1.014 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.001004/0.8443, allocations: 0.5947 MB / 1.32 GB, free: 11.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.8443, allocations: 9.438 kB / 1.32 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.8444, allocations: 57.59 kB / 1.32 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.8454, allocations: 141.5 kB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.8457, allocations: 227 kB / 1.32 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.8457, allocations: 14.22 kB / 1.32 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.8458, allocations: 23.44 kB / 1.32 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.8463, allocations: 341.5 kB / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8463, allocations: 0 / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.8463, allocations: 7.062 kB / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.8463, allocations: 17.7 kB / 1.321 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.8468, allocations: 328.6 kB / 1.321 GB, free: 10.7 MB / 1.014 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.00144/0.8483, allocations: 1.113 MB / 1.322 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.8487, allocations: 193.4 kB / 1.322 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8488, allocations: 81.31 kB / 1.322 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.8494, allocations: 460.1 kB / 1.323 GB, free: 9.414 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8494, allocations: 36.89 kB / 1.323 GB, free: 9.375 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.8494, allocations: 0 / 1.323 GB, free: 9.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0005796/0.85, allocations: 272.9 kB / 1.323 GB, free: 9.316 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.85, allocations: 53.66 kB / 1.323 GB, free: 9.254 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.8502, allocations: 208.6 kB / 1.323 GB, free: 9.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.8503, allocations: 31.92 kB / 1.323 GB, free: 9.113 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.8504, allocations: 141.6 kB / 1.323 GB, free: 9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.8504, allocations: 78.67 kB / 1.323 GB, free: 8.949 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.8505, allocations: 56.34 kB / 1.323 GB, free: 8.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8506, allocations: 327.5 kB / 1.324 GB, free: 8.617 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.8508, allocations: 75.19 kB / 1.324 GB, free: 8.613 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.851, allocations: 155.8 kB / 1.324 GB, free: 8.508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.8513, allocations: 249.4 kB / 1.324 GB, free: 8.391 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8513, allocations: 1.25 kB / 1.324 GB, free: 8.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004684/0.8517, allocations: 294.6 kB / 1.325 GB, free: 8.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.8518, allocations: 6.906 kB / 1.325 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8518, allocations: 2.75 kB / 1.325 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8518, allocations: 8.516 kB / 1.325 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.852, allocations: 59.44 kB / 1.325 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.852, allocations: 5.016 kB / 1.325 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.8522, allocations: 31.91 kB / 1.325 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.8523, allocations: 12.06 kB / 1.325 GB, free: 8.289 MB / 1.014 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.0001186/0.8524, allocations: 146.2 kB / 1.325 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.8525, allocations: 22.06 kB / 1.325 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.8529, allocations: 276.9 kB / 1.325 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.853, allocations: 7.438 kB / 1.325 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.853, allocations: 0 / 1.325 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.853, allocations: 2.891 kB / 1.325 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.8536, allocations: 0.5836 MB / 1.326 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8537, allocations: 4.938 kB / 1.326 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.8538, allocations: 35.91 kB / 1.326 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8538, allocations: 1.25 kB / 1.326 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.8539, allocations: 9.594 kB / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.8539, allocations: 2.75 kB / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8539, allocations: 0 / 1.326 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.8543, allocations: 347 kB / 1.326 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.8545, allocations: 128.6 kB / 1.326 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.8545, allocations: 7.328 kB / 1.326 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.8547, allocations: 16.84 kB / 1.326 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.8548, allocations: 9.891 kB / 1.326 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.8548, allocations: 16.69 kB / 1.326 GB, free: 7.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001232/0.855, allocations: 146.4 kB / 1.326 GB, free: 7.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.855, allocations: 0 / 1.326 GB, free: 7.348 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004075/0.8554, allocations: 123.4 kB / 1.326 GB, free: 7.32 MB / 1.014 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.001001/0.8564, allocations: 0.9887 MB / 1.327 GB, free: 6.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.8567, allocations: 204.7 kB / 1.328 GB, free: 6.504 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8567, allocations: 1.719 kB / 1.328 GB, free: 6.504 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.8569, allocations: 105.4 kB / 1.328 GB, free: 6.477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.8574, allocations: 105.5 kB / 1.328 GB, free: 6.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.8601, allocations: 2.497 MB / 1.33 GB, free: 4.641 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.8604, allocations: 0.7368 MB / 1.331 GB, free: 3.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.8606, allocations: 56.56 kB / 1.331 GB, free: 3.918 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8607, allocations: 55.25 kB / 1.331 GB, free: 3.887 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/0.8608, allocations: 5.094 kB / 1.331 GB, free: 3.883 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.377/4.237, allocations: 7.742 MB / 1.339 GB, free: 3.051 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/18.11, allocations: 7.281 kB / 1.339 GB, free: 3.047 MB / 1.014 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=400 --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