Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_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.006499/0.006499, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001445/0.001445, allocations: 195.4 kB / 16.67 MB, free: 5.523 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.314/1.314, 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 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8309, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002231/0.8332, allocations: 1.517 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.8344, allocations: 0.8159 MB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.8345, allocations: 1 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.8345, allocations: 4.453 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.8346, allocations: 19.72 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.8351, allocations: 150.9 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.8353, allocations: 93.67 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.8354, allocations: 15.98 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.8355, allocations: 34.12 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.8356, allocations: 48.48 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.8356, allocations: 12.97 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.8359, allocations: 128.3 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.8359, allocations: 20.28 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.836, allocations: 37.28 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.8363, allocations: 186.7 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8363, allocations: 1.062 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8363, allocations: 0 / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8363, allocations: 3.938 kB / 1.09 GB, free: 3.332 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.0006279/0.837, allocations: 490.7 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.837, allocations: 8.688 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.837, allocations: 34.92 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.8371, allocations: 9.297 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.8372, allocations: 174.8 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.8372, allocations: 7.656 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.8372, allocations: 5.531 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.8374, allocations: 89.77 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8375, allocations: 4 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8375, allocations: 4.609 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8375, allocations: 1.25 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.8377, allocations: 44.47 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.8382, allocations: 327.1 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.8384, allocations: 93.45 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.8385, allocations: 41 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.8386, allocations: 0.9062 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.8388, allocations: 96.72 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.8388, allocations: 4 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005272/0.8393, allocations: 188.2 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.8394, allocations: 54.83 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.8394, allocations: 133.4 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8395, allocations: 31.95 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.8395, allocations: 88.81 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.8395, allocations: 20.34 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.8396, allocations: 34.06 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.8396, allocations: 324.8 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.8397, allocations: 26 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.104e-05/0.8398, allocations: 67.36 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.84, allocations: 103.8 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.84, allocations: 0.9375 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002353/0.8402, allocations: 128.1 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8403, allocations: 6.203 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8403, allocations: 1.906 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8403, allocations: 2.469 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.8404, allocations: 17.02 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8404, allocations: 7.406 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.8405, allocations: 21.61 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.8405, allocations: 5.219 kB / 1.093 GB, free: 1.117 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.508e-05/0.8406, allocations: 127.9 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.8406, allocations: 8.359 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.8406, allocations: 12.23 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8406, allocations: 5.859 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.8407, allocations: 3.938 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8407, allocations: 1.688 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.8412, allocations: 430.3 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8412, allocations: 0 / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.8413, allocations: 6.453 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8413, allocations: 0 / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.8413, allocations: 3.516 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8413, allocations: 0.7188 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8413, allocations: 3.938 kB / 1.094 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.8417, allocations: 253.5 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.8417, allocations: 88.78 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.8418, allocations: 1.625 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8419, allocations: 12.47 kB / 1.094 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.842, allocations: 8.453 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.842, allocations: 4.812 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.842, allocations: 99.92 kB / 1.094 GB, free: 252 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8421, allocations: 0 / 1.094 GB, free: 252 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003661/0.8424, allocations: 54.91 kB / 1.094 GB, free: 236 kB / 0.8575 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.0009283/0.8434, allocations: 0.8575 MB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.8437, allocations: 83.48 kB / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8437, allocations: 0.875 kB / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.8439, allocations: 53.78 kB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.8441, allocations: 21.14 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.8459, allocations: 1.585 MB / 1.097 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.8463, allocations: 0.6984 MB / 1.097 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.8463, allocations: 5.578 kB / 1.097 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.8464, allocations: 25.62 kB / 1.097 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8464, allocations: 0.9375 kB / 1.097 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.8662, allocations: 3.209 MB / 1.1 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/8.078, allocations: 4.719 kB / 1.1 GB, free: 12.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches