Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_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.006118/0.006118, allocations: 99.11 kB / 15.73 MB, free: 6.043 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.001675/0.001675, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2532, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5969/0.8502, allocations: 149.1 MB / 1.366 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003681/0.8539, allocations: 3.618 MB / 1.369 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.854, allocations: 1.625 kB / 1.369 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.8543, allocations: 62.06 kB / 1.369 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.8545, allocations: 134.8 kB / 1.37 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.8563, allocations: 1.009 MB / 1.371 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.8566, allocations: 328.2 kB / 1.371 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.8567, allocations: 13.72 kB / 1.371 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.857, allocations: 189.8 kB / 1.371 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.8571, allocations: 124.5 kB / 1.371 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.8572, allocations: 13.98 kB / 1.371 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.8588, allocations: 1.222 MB / 1.372 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.8589, allocations: 65.67 kB / 1.372 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.859, allocations: 111.3 kB / 1.373 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.8598, allocations: 0.6345 MB / 1.373 GB, free: 11.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8598, allocations: 0 / 1.373 GB, free: 11.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8598, allocations: 3.938 kB / 1.373 GB, free: 11.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8599, allocations: 5.344 kB / 1.373 GB, free: 11.68 MB / 1.076 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.0009383/0.8608, allocations: 0.5957 MB / 1.374 GB, free: 11.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.8608, allocations: 10.62 kB / 1.374 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.8609, allocations: 59.67 kB / 1.374 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.8619, allocations: 133.2 kB / 1.374 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.8622, allocations: 225.2 kB / 1.374 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.8622, allocations: 16.84 kB / 1.374 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.8622, allocations: 15.28 kB / 1.374 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.8627, allocations: 340.5 kB / 1.374 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8627, allocations: 2.156 kB / 1.374 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.8628, allocations: 10.7 kB / 1.375 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.8628, allocations: 16.84 kB / 1.375 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.8633, allocations: 322.4 kB / 1.375 GB, free: 10.61 MB / 1.076 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.8646, allocations: 1.109 MB / 1.376 GB, free: 9.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.8651, allocations: 191.2 kB / 1.376 GB, free: 9.672 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.8652, allocations: 82.66 kB / 1.376 GB, free: 9.645 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.8657, allocations: 463.7 kB / 1.377 GB, free: 9.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.8657, allocations: 38.53 kB / 1.377 GB, free: 9.117 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.8657, allocations: 0 / 1.377 GB, free: 9.117 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0005912/0.8663, allocations: 258.5 kB / 1.377 GB, free: 9.031 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.8664, allocations: 54.98 kB / 1.377 GB, free: 8.969 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.8666, allocations: 219.5 kB / 1.377 GB, free: 8.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.8666, allocations: 31.98 kB / 1.377 GB, free: 8.785 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.8667, allocations: 137.2 kB / 1.377 GB, free: 8.656 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.8668, allocations: 84.7 kB / 1.377 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.8668, allocations: 57.94 kB / 1.377 GB, free: 8.539 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.867, allocations: 328 kB / 1.378 GB, free: 8.215 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.8671, allocations: 69.06 kB / 1.378 GB, free: 8.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.8673, allocations: 162.1 kB / 1.378 GB, free: 8.043 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.8676, allocations: 245.5 kB / 1.378 GB, free: 7.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8676, allocations: 0 / 1.378 GB, free: 7.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004673/0.8681, allocations: 292.4 kB / 1.379 GB, free: 7.715 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8681, allocations: 6.312 kB / 1.379 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8681, allocations: 8.109 kB / 1.379 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8681, allocations: 13.16 kB / 1.379 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.8683, allocations: 56 kB / 1.379 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.8684, allocations: 8.625 kB / 1.379 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.8685, allocations: 28.03 kB / 1.379 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.8686, allocations: 15.62 kB / 1.379 GB, free: 7.664 MB / 1.076 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.0001166/0.8687, allocations: 140.8 kB / 1.379 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8688, allocations: 25.17 kB / 1.379 GB, free: 7.516 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.8692, allocations: 280.3 kB / 1.379 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8693, allocations: 5.688 kB / 1.379 GB, free: 7.352 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8693, allocations: 1.281 kB / 1.379 GB, free: 7.352 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8693, allocations: 3.984 kB / 1.379 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.8699, allocations: 0.5915 MB / 1.38 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.87, allocations: 1.125 kB / 1.38 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.8701, allocations: 30.42 kB / 1.38 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8701, allocations: 5.156 kB / 1.38 GB, free: 6.859 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.8702, allocations: 9.469 kB / 1.38 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8702, allocations: 1.812 kB / 1.38 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8702, allocations: 1.094 kB / 1.38 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.8706, allocations: 345.3 kB / 1.38 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.8708, allocations: 128.7 kB / 1.38 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.8708, allocations: 10.16 kB / 1.38 GB, free: 6.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.871, allocations: 11.12 kB / 1.38 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.8711, allocations: 9.891 kB / 1.38 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.8711, allocations: 17.89 kB / 1.38 GB, free: 6.465 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00012/0.8712, allocations: 152.2 kB / 1.38 GB, free: 6.355 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8712, allocations: 0 / 1.38 GB, free: 6.355 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003949/0.8716, allocations: 116.8 kB / 1.38 GB, free: 6.332 MB / 1.076 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.0009602/0.8726, allocations: 0.9928 MB / 1.381 GB, free: 5.504 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.8729, allocations: 211.1 kB / 1.382 GB, free: 5.422 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.873, allocations: 0 / 1.382 GB, free: 5.422 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.8731, allocations: 99.11 kB / 1.382 GB, free: 5.387 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.8736, allocations: 97.8 kB / 1.382 GB, free: 5.336 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.8762, allocations: 2.503 MB / 1.384 GB, free: 3.348 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.8765, allocations: 0.7348 MB / 1.385 GB, free: 2.629 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.8768, allocations: 60.75 kB / 1.385 GB, free: 2.598 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.8769, allocations: 54.58 kB / 1.385 GB, free: 2.559 MB / 1.076 GB Notification: Performance of SimCode: time 2e-07/0.8769, allocations: 0 / 1.385 GB, free: 2.559 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.415/4.292, allocations: 7.751 MB / 1.393 GB, free: 14.64 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.967/13.26, allocations: 8.938 kB / 1.393 GB, free: 14.63 MB / 1.092 GB (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches