Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_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.0009148/0.000915, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007121/0.007121, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 10.75 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001424/0.2421, allocations: 1.221 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2433, allocations: 0.8296 MB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.2434, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.2434, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.2435, allocations: 15.86 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.2439, allocations: 131.7 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.244, allocations: 79.72 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.2441, allocations: 11.98 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.2442, allocations: 35.91 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.2443, allocations: 43.83 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2443, allocations: 4 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.2445, allocations: 123.8 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.2445, allocations: 19.91 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.2446, allocations: 57.5 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.2448, allocations: 175.8 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2448, allocations: 0 / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2448, allocations: 0 / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.2448, allocations: 0 / 1.061 GB, free: 2.117 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.0006139/0.2454, allocations: 470.7 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2455, allocations: 8.031 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.2455, allocations: 38.67 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.2456, allocations: 12.84 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2457, allocations: 172.2 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2457, allocations: 12.31 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2457, allocations: 4.375 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.2459, allocations: 97.69 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.246, allocations: 4 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.246, allocations: 8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.246, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.2462, allocations: 51.97 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.2467, allocations: 336.6 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2469, allocations: 86.55 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.247, allocations: 52.83 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.247, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.2473, allocations: 103.4 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2473, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004894/0.2478, allocations: 193.5 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2478, allocations: 55.41 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.2479, allocations: 132.2 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2479, allocations: 29.7 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.248, allocations: 100.2 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.248, allocations: 19.75 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.2481, allocations: 21.7 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.2482, allocations: 326.8 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.2482, allocations: 35.97 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2484, allocations: 69.94 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2485, allocations: 109.9 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2486, allocations: 4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.2488, allocations: 137.4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2488, allocations: 4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2488, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2489, allocations: 8.188 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.2489, allocations: 15.98 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.249, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.249, allocations: 12 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.249, allocations: 7.984 kB / 1.064 GB, free: 15.14 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 8.588e-05/0.2491, allocations: 129.7 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.2492, allocations: 7.906 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.2492, allocations: 12.72 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2492, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2492, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2492, allocations: 7.984 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.2497, allocations: 450.5 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2498, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.2498, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2498, allocations: 3.938 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2498, allocations: 7.984 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2498, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2498, allocations: 4.016 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.2502, allocations: 259.4 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.2503, allocations: 81.02 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2503, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2504, allocations: 15.98 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2504, allocations: 7.875 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2505, allocations: 11.98 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.2505, allocations: 97.52 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2505, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002906/0.2508, allocations: 47.98 kB / 1.065 GB, free: 13.91 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.0008236/0.2516, allocations: 0.857 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2519, allocations: 95.88 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2519, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2521, allocations: 55.91 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2523, allocations: 24.33 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2538, allocations: 1.614 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2541, allocations: 0.6965 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.2541, allocations: 8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.2541, allocations: 19.42 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2541, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.2657, allocations: 2.878 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.2659, allocations: 284.2 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.817, allocations: 6.469 kB / 1.072 GB, free: 7.312 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches