Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_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.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.001102/0.001102, allocations: 196.6 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 61.34 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4188, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003179/0.4221, allocations: 1.493 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.4236, allocations: 0.8389 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.4237, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.4237, allocations: 3.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.4238, allocations: 11.81 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.4247, allocations: 151.5 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.4249, allocations: 91.7 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.425, allocations: 15.98 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4252, allocations: 39.91 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4253, allocations: 47.77 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.4253, allocations: 8 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.4257, allocations: 127.9 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.4257, allocations: 19.92 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.4258, allocations: 35.8 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.4262, allocations: 187.8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4263, allocations: 7.938 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4263, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4263, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 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.0009984/0.4273, allocations: 478.5 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.4273, allocations: 8.031 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.4274, allocations: 38.75 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.4275, allocations: 16.83 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4277, allocations: 172.2 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.4278, allocations: 4.375 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.4278, allocations: 8.375 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4281, allocations: 89.69 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4281, allocations: 4 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4281, allocations: 4 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4281, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.4283, allocations: 55.91 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.429, allocations: 328.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.4294, allocations: 82.58 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4295, allocations: 48.83 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.4295, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.4298, allocations: 87.36 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.4298, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.4304, allocations: 201.6 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4304, allocations: 51.41 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4306, allocations: 131.7 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4306, allocations: 25.7 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.4307, allocations: 96.12 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.4307, allocations: 19.75 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.4308, allocations: 29.7 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4309, allocations: 326.8 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.431, allocations: 23.98 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.4311, allocations: 68.38 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.4313, allocations: 109.9 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4313, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002459/0.4315, allocations: 133.4 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4316, allocations: 4 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4316, allocations: 320 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4316, allocations: 4 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.4317, allocations: 19.92 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4317, allocations: 3.938 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.4318, allocations: 7.984 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4318, allocations: 7.984 kB / 1.069 GB, free: 8.531 MB / 0.8262 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.0001046/0.4319, allocations: 130.4 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4319, allocations: 7.906 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.432, allocations: 12.66 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.432, allocations: 4 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.432, allocations: 3.984 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.432, allocations: 0 / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.4326, allocations: 430.4 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4326, allocations: 4 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.4327, allocations: 4 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4327, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4327, allocations: 3.984 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4327, allocations: 4 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4327, allocations: 7.875 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.4331, allocations: 243.4 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.4332, allocations: 88.95 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.4332, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.4333, allocations: 15.98 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.4334, allocations: 3.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4334, allocations: 11.98 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.4335, allocations: 96.39 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4335, allocations: 0 / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003822/0.4339, allocations: 51.98 kB / 1.07 GB, free: 7.332 MB / 0.8262 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.001079/0.435, allocations: 0.8521 MB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.4353, allocations: 87.83 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4353, allocations: 0 / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4354, allocations: 55.89 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.4358, allocations: 15.92 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4376, allocations: 1.58 MB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.4379, allocations: 0.6961 MB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.4379, allocations: 7.984 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.438, allocations: 19.44 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.438, allocations: 0 / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4609, allocations: 3.168 MB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.796, allocations: 14.17 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches