Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5481, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1571/0.7052, allocations: 162.4 MB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.7096, allocations: 2.917 MB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.7101, allocations: 19.88 kB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.7108, allocations: 206.8 kB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.7128, allocations: 0.7777 MB / 1.112 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.7135, allocations: 330.6 kB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.7147, allocations: 0.939 MB / 1.113 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.715, allocations: 258.2 kB / 1.114 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.7156, allocations: 338.6 kB / 1.114 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.7163, allocations: 291.2 kB / 1.114 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.7164, allocations: 32 kB / 1.114 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.7175, allocations: 0.6469 MB / 1.115 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.7177, allocations: 131.6 kB / 1.115 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.7179, allocations: 211 kB / 1.115 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.7188, allocations: 0.7402 MB / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7189, allocations: 0 / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7189, allocations: 0 / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.7189, allocations: 0 / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001063/0.7199, allocations: 0.7204 MB / 1.117 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.72, allocations: 8.031 kB / 1.117 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.7201, allocations: 62.55 kB / 1.117 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.7211, allocations: 135.3 kB / 1.117 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.7217, allocations: 402.4 kB / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.7217, allocations: 20.56 kB / 1.117 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.7218, allocations: 31.89 kB / 1.117 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.7222, allocations: 267.7 kB / 1.118 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7222, allocations: 0 / 1.118 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.7222, allocations: 12 kB / 1.118 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.7223, allocations: 8.562 kB / 1.118 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.7226, allocations: 202.1 kB / 1.118 GB, free: 5.055 MB / 0.8731 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.001679/0.7243, allocations: 1.326 MB / 1.119 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.7247, allocations: 190.9 kB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.7248, allocations: 92.81 kB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.7248, allocations: 4 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7248, allocations: 34.56 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.7249, allocations: 4 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008954/0.7258, allocations: 404.1 kB / 1.12 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.7258, allocations: 51.41 kB / 1.12 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.7261, allocations: 304.6 kB / 1.12 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.7261, allocations: 29.7 kB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.7263, allocations: 200 kB / 1.12 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.7264, allocations: 70.94 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.7264, allocations: 45.7 kB / 1.12 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7266, allocations: 334.8 kB / 1.121 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.7267, allocations: 63.97 kB / 1.121 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.7268, allocations: 123.9 kB / 1.121 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.7271, allocations: 203.4 kB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7271, allocations: 0 / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003642/0.7274, allocations: 247.1 kB / 1.121 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7275, allocations: 4 kB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7275, allocations: 4 kB / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7275, allocations: 0 / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.7277, allocations: 44.11 kB / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.7277, allocations: 8 kB / 1.121 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.728, allocations: 15.84 kB / 1.121 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.728, allocations: 8 kB / 1.121 GB, free: 1.016 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001458/0.7282, allocations: 161.8 kB / 1.122 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.7282, allocations: 35.56 kB / 1.122 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.7283, allocations: 35.08 kB / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7283, allocations: 7.969 kB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7283, allocations: 7.938 kB / 1.122 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7284, allocations: 4 kB / 1.122 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.7288, allocations: 409.2 kB / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7288, allocations: 0 / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.729, allocations: 35.86 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.7292, allocations: 52.81 kB / 1.122 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.7293, allocations: 0 / 1.122 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.7304, allocations: 1.512 MB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7304, allocations: 0 / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.7309, allocations: 403.9 kB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.7311, allocations: 120.8 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.7311, allocations: 11.92 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.7314, allocations: 5.547 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.7314, allocations: 19.94 kB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.7314, allocations: 4.234 kB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001978/0.7316, allocations: 219.1 kB / 1.124 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7316, allocations: 0 / 1.124 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004023/0.7321, allocations: 107.8 kB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007856/0.7329, allocations: 0.9556 MB / 1.125 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.7332, allocations: 169.7 kB / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7332, allocations: 384 / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.7335, allocations: 206.6 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.7344, allocations: 194.7 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.7377, allocations: 2.931 MB / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.7381, allocations: 0.7921 MB / 1.13 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.7384, allocations: 59.25 kB / 1.13 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.7386, allocations: 107.3 kB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of SimCode: time 2.554e-06/0.7386, allocations: 0 / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.7665, allocations: 8.906 MB / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.504, allocations: 11.44 kB / 1.138 GB, free: 15.38 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches