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.007667/0.007667, allocations: 99.64 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.001935/0.001935, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.382/2.382, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6666, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1465/0.8132, allocations: 149.1 MB / 1.312 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.8171, allocations: 3.606 MB / 1.315 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.8173, allocations: 4 kB / 1.315 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.8176, allocations: 67.64 kB / 1.315 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.8179, allocations: 139.2 kB / 1.316 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.8203, allocations: 1.038 MB / 1.317 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.8207, allocations: 323.6 kB / 1.317 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8208, allocations: 9.562 kB / 1.317 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.8212, allocations: 207.2 kB / 1.317 GB, free: 8.633 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.8214, allocations: 127.5 kB / 1.317 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.8214, allocations: 12 kB / 1.317 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.8234, allocations: 1.212 MB / 1.318 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.8235, allocations: 71.78 kB / 1.318 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.8236, allocations: 115.5 kB / 1.319 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.8247, allocations: 0.6423 MB / 1.319 GB, free: 6.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8248, allocations: 0 / 1.319 GB, free: 6.457 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8248, allocations: 0 / 1.319 GB, free: 6.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.8248, allocations: 8 kB / 1.319 GB, free: 6.449 MB / 1.045 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.001143/0.8259, allocations: 0.5879 MB / 1.32 GB, free: 5.812 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.826, allocations: 8.922 kB / 1.32 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.826, allocations: 54.73 kB / 1.32 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.8273, allocations: 140.7 kB / 1.32 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.8276, allocations: 227.8 kB / 1.32 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.8276, allocations: 12.38 kB / 1.32 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.8276, allocations: 20 kB / 1.32 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.8282, allocations: 342 kB / 1.321 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8282, allocations: 0 / 1.321 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.8282, allocations: 12 kB / 1.321 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.8283, allocations: 8 kB / 1.321 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.8288, allocations: 332 kB / 1.321 GB, free: 4.617 MB / 1.045 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.00157/0.8304, allocations: 1.117 MB / 1.322 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.8309, allocations: 190.4 kB / 1.322 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.8311, allocations: 88.69 kB / 1.322 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/0.8316, allocations: 461.5 kB / 1.323 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.8316, allocations: 34.56 kB / 1.323 GB, free: 2.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.8316, allocations: 0 / 1.323 GB, free: 2.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0006655/0.8323, allocations: 267 kB / 1.323 GB, free: 2.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.8323, allocations: 51.41 kB / 1.323 GB, free: 2.211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.8325, allocations: 215.6 kB / 1.323 GB, free: 1.988 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.8326, allocations: 33.64 kB / 1.323 GB, free: 1.949 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.8327, allocations: 140.3 kB / 1.323 GB, free: 1.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.8327, allocations: 79.3 kB / 1.323 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.8328, allocations: 57.66 kB / 1.323 GB, free: 1.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8329, allocations: 330.8 kB / 1.324 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.8331, allocations: 64.23 kB / 1.324 GB, free: 1.273 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.8333, allocations: 159.7 kB / 1.324 GB, free: 1.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.8336, allocations: 257 kB / 1.324 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8336, allocations: 3.938 kB / 1.324 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005249/0.8341, allocations: 282.3 kB / 1.325 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8342, allocations: 4.109 kB / 1.325 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8342, allocations: 8.312 kB / 1.325 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8342, allocations: 11.94 kB / 1.325 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.8345, allocations: 59.91 kB / 1.325 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.8345, allocations: 7.938 kB / 1.325 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.8347, allocations: 27.78 kB / 1.325 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.8348, allocations: 12 kB / 1.325 GB, free: 384 kB / 1.045 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.00012/0.8349, allocations: 141.7 kB / 1.325 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.835, allocations: 19.91 kB / 1.325 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.8355, allocations: 283.1 kB / 1.325 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8355, allocations: 0 / 1.325 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8355, allocations: 0 / 1.325 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.8355, allocations: 7.969 kB / 1.325 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007102/0.8363, allocations: 0.5896 MB / 1.326 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8363, allocations: 0 / 1.326 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.8365, allocations: 35.98 kB / 1.326 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8365, allocations: 0 / 1.326 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.8365, allocations: 8.062 kB / 1.326 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8365, allocations: 3.984 kB / 1.326 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8365, allocations: 0 / 1.326 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.8371, allocations: 354.2 kB / 1.326 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.8372, allocations: 128.8 kB / 1.326 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.8372, allocations: 8 kB / 1.326 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.8375, allocations: 11.98 kB / 1.326 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.8376, allocations: 11.98 kB / 1.326 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.8376, allocations: 12 kB / 1.326 GB, free: 14.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001228/0.8377, allocations: 153.5 kB / 1.326 GB, free: 14.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8377, allocations: 0 / 1.326 GB, free: 14.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004842/0.8382, allocations: 111.8 kB / 1.326 GB, free: 14.41 MB / 1.061 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.001085/0.8393, allocations: 1.001 MB / 1.327 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.8397, allocations: 199.7 kB / 1.328 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8397, allocations: 4 kB / 1.328 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.8398, allocations: 106.3 kB / 1.328 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.8405, allocations: 100.6 kB / 1.328 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.8433, allocations: 2.495 MB / 1.33 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.8435, allocations: 0.7406 MB / 1.331 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.8438, allocations: 54.25 kB / 1.331 GB, free: 9.496 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.8439, allocations: 59.41 kB / 1.331 GB, free: 9.441 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.8439, allocations: 0 / 1.331 GB, free: 9.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.869, allocations: 7.734 MB / 1.339 GB, free: 1.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.733, allocations: 7.406 kB / 1.339 GB, free: 1.836 MB / 1.061 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