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.007772/0.007772, allocations: 102.6 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.00163/0.001631, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.066/2.066, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 60.09 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.6265, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002344/0.6289, allocations: 1.503 MB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.6302, allocations: 0.8243 MB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.6303, allocations: 0 / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.6303, allocations: 8.672 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.6304, allocations: 15.31 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.631, allocations: 151.4 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.6312, allocations: 89.44 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.6313, allocations: 19.84 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.6314, allocations: 42.09 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.6315, allocations: 49.38 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.6315, allocations: 7.844 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.6317, allocations: 128 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.6318, allocations: 16.86 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.6318, allocations: 38.5 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.6321, allocations: 184.5 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6321, allocations: 1.094 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6321, allocations: 4 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6321, allocations: 0 / 1.09 GB, free: 3.328 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.0005532/0.6327, allocations: 478.1 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.6327, allocations: 10.34 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.6327, allocations: 37.05 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.6328, allocations: 9.984 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.6328, allocations: 181.8 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.6329, allocations: 7.859 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.6329, allocations: 9.031 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.6331, allocations: 85.83 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6331, allocations: 0 / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6331, allocations: 4.562 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6331, allocations: 1.062 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.6333, allocations: 51.86 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.6337, allocations: 331.6 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.6339, allocations: 81.17 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.634, allocations: 45.2 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.6341, allocations: 1.672 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.6343, allocations: 95.78 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.165e-06/0.6343, allocations: 0.7188 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.6347, allocations: 191.1 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.6348, allocations: 55.88 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.6349, allocations: 136.8 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.6349, allocations: 27.66 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.6349, allocations: 92.92 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.6349, allocations: 16.73 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.635, allocations: 30.14 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.635, allocations: 324.2 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.6351, allocations: 26.81 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.6352, allocations: 70.41 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.6353, allocations: 104.3 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6353, allocations: 1.031 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002036/0.6356, allocations: 128.3 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6356, allocations: 5.406 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6356, allocations: 6.422 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6356, allocations: 6.281 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.6357, allocations: 13.47 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6357, allocations: 2.719 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.6358, allocations: 18.25 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.6358, allocations: 5.188 kB / 1.093 GB, free: 1.121 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 5.916e-05/0.6358, allocations: 124.7 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.6359, allocations: 7.906 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.6359, allocations: 16.3 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6359, allocations: 0.8438 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6359, allocations: 0.75 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6359, allocations: 0.7969 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.6364, allocations: 431.2 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6364, allocations: 0.5625 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.6364, allocations: 5.828 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6364, allocations: 4.906 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6364, allocations: 2 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6364, allocations: 1.438 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6364, allocations: 4.844 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.6368, allocations: 244.7 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.6368, allocations: 83.95 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.6368, allocations: 1.875 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.6369, allocations: 20.14 kB / 1.094 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.637, allocations: 9.453 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.637, allocations: 4.125 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.637, allocations: 107.1 kB / 1.094 GB, free: 256 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.637, allocations: 0 / 1.094 GB, free: 256 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002815/0.6373, allocations: 50.17 kB / 1.094 GB, free: 244 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.0007631/0.6381, allocations: 0.8628 MB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.6383, allocations: 91.06 kB / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6383, allocations: 0 / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6385, allocations: 51.02 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.0002398/0.6387, allocations: 11.92 kB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.6402, allocations: 1.593 MB / 1.097 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.6404, allocations: 0.6956 MB / 1.097 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.6404, allocations: 4.594 kB / 1.097 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.6405, allocations: 25.25 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.6405, allocations: 0.875 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/2.945, allocations: 3.203 MB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/11.56, allocations: 13.28 kB / 1.1 GB, free: 12.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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