Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.006533/0.006533, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001507/0.001507, allocations: 194.8 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.465/2.465, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8175, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003111/0.8207, allocations: 1.5 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.8223, allocations: 0.8295 MB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.8224, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.8224, allocations: 11.88 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.8225, allocations: 11.86 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.8231, allocations: 159.5 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.8233, allocations: 87.77 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.8234, allocations: 19.92 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.8235, allocations: 39.91 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.8236, allocations: 43.83 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.8236, allocations: 8 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.8238, allocations: 135.8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.8239, allocations: 19.92 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.8239, allocations: 35.8 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.8242, allocations: 179.1 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8242, allocations: 4 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8242, allocations: 0 / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.8242, allocations: 0 / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009851/0.8252, allocations: 490.1 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.8253, allocations: 12.92 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.8253, allocations: 30.75 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.8254, allocations: 8.891 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.8256, allocations: 184.2 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.8257, allocations: 4.375 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.8257, allocations: 4.375 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.826, allocations: 93.77 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.826, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.8261, allocations: 3.984 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8261, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.8263, allocations: 51.91 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.8272, allocations: 328.6 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.8276, allocations: 86.53 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.8278, allocations: 44.83 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.8278, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.8281, allocations: 99.39 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.8282, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0007332/0.8289, allocations: 185.9 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.829, allocations: 51.41 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.8291, allocations: 132.1 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.8292, allocations: 33.7 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.8292, allocations: 92.12 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.8293, allocations: 23.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.8294, allocations: 33.7 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8295, allocations: 318.8 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.8296, allocations: 35.91 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.8298, allocations: 67.12 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.8301, allocations: 97.92 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8301, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003586/0.8304, allocations: 129.4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8305, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8305, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8305, allocations: 3.938 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.8306, allocations: 15.98 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.8307, allocations: 8.25 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.8308, allocations: 15.95 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8308, allocations: 7.984 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001897/0.831, allocations: 125.7 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.831, allocations: 11.94 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.8311, allocations: 12.72 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8311, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8311, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.8311, allocations: 7.984 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.832, allocations: 430.4 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.832, allocations: 0 / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.8321, allocations: 4 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8321, allocations: 0 / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.8321, allocations: 7.984 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8321, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8321, allocations: 3.938 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.8326, allocations: 243.4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.8327, allocations: 89 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.8328, allocations: 0 / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.8329, allocations: 19.92 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.833, allocations: 3.938 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.833, allocations: 15.98 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.8331, allocations: 101.8 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3e-07/0.8331, allocations: 0 / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005605/0.8337, allocations: 51.86 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001313/0.835, allocations: 0.842 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.8354, allocations: 91.83 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8354, allocations: 0 / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.8356, allocations: 56.33 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.8361, allocations: 16.31 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.8389, allocations: 1.599 MB / 1.175 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.8394, allocations: 0.6924 MB / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.8395, allocations: 12.02 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.8396, allocations: 27.42 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of SimCode: time 9.31e-07/0.8396, allocations: 0 / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.8696, allocations: 3.199 MB / 1.179 GB, free: 6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.217, allocations: 17.48 kB / 1.179 GB, free: 5.988 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches