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.001548/0.001548, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002095/0.002095, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.065/2.065, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 62.95 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3104, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002255/0.3127, allocations: 1.575 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3138, allocations: 0.8217 MB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.3139, allocations: 4 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3139, allocations: 3.938 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.314, allocations: 7.938 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3144, allocations: 139.7 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3146, allocations: 91.72 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.3146, allocations: 7.984 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.3147, allocations: 43.91 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.3148, allocations: 47.83 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3148, allocations: 8 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.315, allocations: 127.8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.315, allocations: 19.92 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3151, allocations: 43.78 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3153, allocations: 179.8 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3153, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3153, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3153, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 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.0006277/0.316, allocations: 482.4 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.316, allocations: 12.62 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3161, allocations: 42.67 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3161, allocations: 8.844 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3162, allocations: 176.2 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3162, allocations: 8.375 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.3162, allocations: 4.375 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.3164, allocations: 93.75 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3165, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3165, allocations: 3.938 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3165, allocations: 3.984 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3166, allocations: 47.97 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3171, allocations: 324.8 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3173, allocations: 82.58 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3174, allocations: 44.83 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3175, allocations: 4.141 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3176, allocations: 95.27 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.3177, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004451/0.3181, allocations: 185.5 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3181, allocations: 55.34 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.3182, allocations: 132.5 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3183, allocations: 29.7 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.3183, allocations: 104.1 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3183, allocations: 19.73 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3184, allocations: 33.7 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.3185, allocations: 322.8 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.3186, allocations: 23.98 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.3187, allocations: 77.11 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3188, allocations: 101.9 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3188, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002159/0.3191, allocations: 125.4 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.3191, allocations: 7.984 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3191, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.3191, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.3192, allocations: 16.12 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3192, allocations: 15.92 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.3193, allocations: 7.906 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3193, allocations: 12 kB / 1.058 GB, free: 2.578 MB / 0.8106 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 8.537e-05/0.3194, allocations: 119.3 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3194, allocations: 7.906 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3194, allocations: 20.64 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3194, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3194, allocations: 4 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3194, allocations: 0 / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3199, allocations: 434.3 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3199, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.32, allocations: 7.984 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.32, allocations: 0 / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.32, allocations: 4 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.32, allocations: 0 / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.32, allocations: 7.938 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3204, allocations: 251.7 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.3204, allocations: 81.02 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3204, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3205, allocations: 7.984 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3206, allocations: 15.92 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3206, allocations: 4 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.3206, allocations: 97.52 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3207, allocations: 0 / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000275/0.3209, allocations: 51.98 kB / 1.059 GB, free: 1.387 MB / 0.8106 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.0007783/0.3217, allocations: 0.8542 MB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.322, allocations: 91.81 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.322, allocations: 384 / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3221, allocations: 51.92 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3223, allocations: 18.31 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3238, allocations: 1.594 MB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.324, allocations: 0.6922 MB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.3241, allocations: 7.984 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3241, allocations: 27.44 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3241, allocations: 0 / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3829/0.707, allocations: 3.05 MB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.7073, allocations: 284.5 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.017/5.724, allocations: 2.031 kB / 1.066 GB, free: 10.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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