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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 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.0009762/0.0009762, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.12 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2331, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002376/0.2355, allocations: 1.509 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2367, allocations: 0.8376 MB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.2368, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.2368, allocations: 3.938 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.2369, allocations: 19.86 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2375, allocations: 151.5 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2376, allocations: 95.69 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.2377, allocations: 11.98 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.2378, allocations: 35.92 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2378, allocations: 47.81 kB / 1.056 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2379, allocations: 12 kB / 1.056 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.2381, allocations: 127.8 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.2381, allocations: 19.92 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.2382, allocations: 43.78 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.2384, allocations: 179.8 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.2384, allocations: 0 / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2384, allocations: 0 / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2384, allocations: 0 / 1.056 GB, free: 5.211 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.0006147/0.2391, allocations: 482.5 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2391, allocations: 8.625 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.2391, allocations: 42.69 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.2392, allocations: 12.83 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.2393, allocations: 176.2 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2393, allocations: 16.3 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.2393, allocations: 4.375 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2395, allocations: 89.69 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2395, allocations: 0 / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2396, allocations: 4 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2396, allocations: 4 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.2397, allocations: 43.97 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.2402, allocations: 324.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.2404, allocations: 86.58 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2405, allocations: 44.83 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2405, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.2407, allocations: 99.41 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2408, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004498/0.2412, allocations: 185.5 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2412, allocations: 55.41 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.2413, allocations: 132.1 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2414, allocations: 25.7 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2414, allocations: 96.12 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2414, allocations: 19.75 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.2415, allocations: 33.7 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.2416, allocations: 326.8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.2416, allocations: 19.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.2417, allocations: 66 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2419, allocations: 109.9 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2419, allocations: 4 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002175/0.2421, allocations: 121.4 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2422, allocations: 8 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2422, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2422, allocations: 4 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.2423, allocations: 15.92 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2423, allocations: 4 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2423, allocations: 16.08 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2424, allocations: 4 kB / 1.058 GB, free: 2.289 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 7.891e-05/0.2424, allocations: 131.2 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.2425, allocations: 7.906 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.2425, allocations: 8.719 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2425, allocations: 3.938 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2425, allocations: 7.984 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2425, allocations: 3.938 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.243, allocations: 434.4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.243, allocations: 4 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2431, allocations: 4 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2431, allocations: 3.984 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.2431, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2431, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2431, allocations: 3.938 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.2434, allocations: 255.3 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.2435, allocations: 89.05 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2435, allocations: 0 / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2436, allocations: 7.984 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.2436, allocations: 11.94 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2437, allocations: 7.984 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.2437, allocations: 101.5 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2437, allocations: 0 / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002941/0.244, allocations: 51.98 kB / 1.06 GB, free: 1.078 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.0007487/0.2448, allocations: 0.8479 MB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.245, allocations: 87.89 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.245, allocations: 0 / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2452, allocations: 56.28 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.2454, allocations: 19.86 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2468, allocations: 1.574 MB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.247, allocations: 0.6961 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.2471, allocations: 7.984 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.2471, allocations: 19.44 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2471, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.558/2.805, allocations: 3.176 MB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/11.23, allocations: 7.5 kB / 1.066 GB, free: 10.57 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