Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.004408/0.004408, allocations: 101.7 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.001064/0.001064, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.196/2.196, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8133, allocations: 140.4 MB / 1.087 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002895/0.8163, allocations: 1.501 MB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.8178, allocations: 0.8251 MB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.8178, allocations: 1.156 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.8179, allocations: 5.203 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.818, allocations: 13.59 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.8186, allocations: 155.4 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.8188, allocations: 93.52 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.8189, allocations: 8.219 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.819, allocations: 46.44 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.8191, allocations: 48.94 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.8191, allocations: 12.25 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.8194, allocations: 128.4 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.8194, allocations: 16.88 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.8195, allocations: 41.3 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.8198, allocations: 181.2 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8198, allocations: 1.219 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8198, allocations: 0 / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.8198, allocations: 0 / 1.09 GB, free: 3.207 MB / 0.8575 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.0006467/0.8204, allocations: 482.2 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8205, allocations: 9.156 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.8205, allocations: 42.58 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.8206, allocations: 8.906 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.8207, allocations: 177.2 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.8207, allocations: 8.484 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.8207, allocations: 5.109 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.821, allocations: 91.83 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.821, allocations: 5.375 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.821, allocations: 0.6094 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.821, allocations: 1.281 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.8212, allocations: 48.14 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.8218, allocations: 327.8 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.822, allocations: 85.53 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.8222, allocations: 44.14 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.8222, allocations: 1.562 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.8225, allocations: 88.84 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.496e-06/0.8225, allocations: 4 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000586/0.8231, allocations: 195.4 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8232, allocations: 55.05 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.8233, allocations: 133.2 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.8233, allocations: 27.94 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.8233, allocations: 92.83 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.8234, allocations: 17.23 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.8234, allocations: 33.53 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.8235, allocations: 324.1 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.8236, allocations: 22.95 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.8237, allocations: 70.23 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.8239, allocations: 112.5 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8239, allocations: 1.219 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.8241, allocations: 127.5 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8241, allocations: 5.922 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8241, allocations: 2.562 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8242, allocations: 2.219 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.8243, allocations: 17.22 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8243, allocations: 2.547 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.8243, allocations: 18.98 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8244, allocations: 12.16 kB / 1.093 GB, free: 0.9922 MB / 0.8575 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 7.603e-05/0.8244, allocations: 124.6 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.8245, allocations: 7.719 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.8245, allocations: 11.56 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8245, allocations: 0.9375 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.8245, allocations: 1.656 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8245, allocations: 4.688 kB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.8251, allocations: 431.1 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8251, allocations: 0.7031 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.8251, allocations: 9.156 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.8252, allocations: 0.9062 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8252, allocations: 2.469 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8252, allocations: 4.719 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8252, allocations: 5.5 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.8256, allocations: 248.5 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.8256, allocations: 84.69 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.8256, allocations: 1.516 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8258, allocations: 12 kB / 1.094 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.8258, allocations: 13.67 kB / 1.094 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.8258, allocations: 3.828 kB / 1.094 GB, free: 212 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.258e-05/0.8259, allocations: 104.2 kB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8259, allocations: 0.9375 kB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003631/0.8263, allocations: 49.03 kB / 1.094 GB, free: 16.11 MB / 0.8731 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.0009151/0.8272, allocations: 0.8544 MB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.8275, allocations: 82.88 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8275, allocations: 3.938 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.8277, allocations: 51.06 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.828, allocations: 20.59 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.8299, allocations: 1.597 MB / 1.097 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.8302, allocations: 0.6943 MB / 1.097 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.8302, allocations: 5.734 kB / 1.097 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.8303, allocations: 25.53 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8303, allocations: 0 / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.8498, allocations: 3.202 MB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/8.233, allocations: 9.766 kB / 1.1 GB, free: 12.69 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches