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.005558/0.005558, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001283/0.001283, allocations: 194.2 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.715/2.715, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3332, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8167/1.15, allocations: 149.1 MB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003989/1.154, allocations: 3.622 MB / 1.315 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/1.154, allocations: 5 kB / 1.315 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003821/1.155, allocations: 67.97 kB / 1.315 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/1.155, allocations: 127.8 kB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/1.158, allocations: 1.009 MB / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/1.158, allocations: 321.9 kB / 1.317 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/1.158, allocations: 15.25 kB / 1.317 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/1.159, allocations: 197.8 kB / 1.317 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/1.159, allocations: 126.2 kB / 1.317 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/1.159, allocations: 10.41 kB / 1.317 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/1.162, allocations: 1.217 MB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.162, allocations: 68.52 kB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/1.162, allocations: 106.9 kB / 1.318 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/1.163, allocations: 0.6426 MB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.163, allocations: 1.25 kB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.565e-06/1.163, allocations: 0.75 kB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.163, allocations: 0 / 1.319 GB, free: 11.5 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.001265/1.165, allocations: 0.5984 MB / 1.32 GB, free: 11.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.165, allocations: 13.47 kB / 1.32 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/1.165, allocations: 57.73 kB / 1.32 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.166, allocations: 138.3 kB / 1.32 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/1.166, allocations: 219.2 kB / 1.32 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.166, allocations: 19.91 kB / 1.32 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/1.166, allocations: 18.84 kB / 1.32 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/1.167, allocations: 339.6 kB / 1.32 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.167, allocations: 1.5 kB / 1.32 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/1.167, allocations: 6.344 kB / 1.32 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/1.167, allocations: 18.22 kB / 1.321 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/1.168, allocations: 331.3 kB / 1.321 GB, free: 10.67 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.001771/1.169, allocations: 1.109 MB / 1.322 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/1.17, allocations: 193.1 kB / 1.322 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/1.17, allocations: 90.89 kB / 1.322 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006357/1.171, allocations: 457.9 kB / 1.323 GB, free: 9.379 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.171, allocations: 36.72 kB / 1.323 GB, free: 9.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/1.171, allocations: 0 / 1.323 GB, free: 9.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0007541/1.172, allocations: 265.9 kB / 1.323 GB, free: 9.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.172, allocations: 54.55 kB / 1.323 GB, free: 9.223 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/1.172, allocations: 208.4 kB / 1.323 GB, free: 9.113 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.172, allocations: 32.11 kB / 1.323 GB, free: 9.082 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/1.172, allocations: 143.5 kB / 1.323 GB, free: 8.969 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/1.172, allocations: 78.06 kB / 1.323 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.172, allocations: 55.66 kB / 1.323 GB, free: 8.898 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.173, allocations: 327.4 kB / 1.324 GB, free: 8.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/1.173, allocations: 82.09 kB / 1.324 GB, free: 8.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.173, allocations: 151.5 kB / 1.324 GB, free: 8.477 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/1.173, allocations: 250.8 kB / 1.324 GB, free: 8.355 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.173, allocations: 1.188 kB / 1.324 GB, free: 8.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005775/1.174, allocations: 286.7 kB / 1.324 GB, free: 8.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.174, allocations: 6.516 kB / 1.325 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.174, allocations: 3.234 kB / 1.325 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.174, allocations: 13.06 kB / 1.325 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.174, allocations: 55.23 kB / 1.325 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.174, allocations: 10.92 kB / 1.325 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/1.175, allocations: 30.97 kB / 1.325 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.175, allocations: 11.27 kB / 1.325 GB, free: 8.258 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.0001718/1.175, allocations: 146.9 kB / 1.325 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.175, allocations: 26.23 kB / 1.325 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/1.176, allocations: 271.4 kB / 1.325 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.176, allocations: 7.469 kB / 1.325 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.176, allocations: 0 / 1.325 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.176, allocations: 2.719 kB / 1.325 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/1.176, allocations: 0.5826 MB / 1.326 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.177, allocations: 10.22 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.177, allocations: 29.81 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.177, allocations: 1.094 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.177, allocations: 6.766 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.177, allocations: 2.562 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.177, allocations: 1.875 kB / 1.326 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/1.177, allocations: 352.8 kB / 1.326 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.177, allocations: 118.7 kB / 1.326 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/1.177, allocations: 9.516 kB / 1.326 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/1.178, allocations: 15.67 kB / 1.326 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/1.178, allocations: 11.31 kB / 1.326 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/1.178, allocations: 15.17 kB / 1.326 GB, free: 7.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001567/1.178, allocations: 147.4 kB / 1.326 GB, free: 7.324 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.178, allocations: 4 kB / 1.326 GB, free: 7.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006204/1.179, allocations: 118.2 kB / 1.326 GB, free: 7.297 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.001345/1.18, allocations: 0.9954 MB / 1.327 GB, free: 6.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004471/1.18, allocations: 205.2 kB / 1.328 GB, free: 6.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.18, allocations: 2.031 kB / 1.328 GB, free: 6.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/1.181, allocations: 114 kB / 1.328 GB, free: 6.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/1.181, allocations: 100.5 kB / 1.328 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/1.185, allocations: 2.503 MB / 1.33 GB, free: 4.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/1.185, allocations: 0.7329 MB / 1.331 GB, free: 3.906 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002722/1.185, allocations: 59.86 kB / 1.331 GB, free: 3.883 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.185, allocations: 60.12 kB / 1.331 GB, free: 3.848 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.185, allocations: 0 / 1.331 GB, free: 3.848 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/1.217, allocations: 7.735 MB / 1.339 GB, free: 3.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/9.406, allocations: 7.938 kB / 1.339 GB, free: 3.023 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_AirProperties.fmu > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.csv","/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