Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_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.001916/0.001916, allocations: 104 kB / 15.61 MB, free: 148 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.002036/0.002036, allocations: 196.7 kB / 16.53 MB, free: 6.684 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 469.8 MB / 0.7424 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 69.22 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2533, allocations: 159.1 MB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002871/0.2562, allocations: 1.505 MB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2577, allocations: 0.8352 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.2577, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.2578, allocations: 3.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.2579, allocations: 15.81 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.2584, allocations: 151.5 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.2586, allocations: 91.7 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.2587, allocations: 19.98 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.2588, allocations: 39.84 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.2589, allocations: 43.83 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2589, allocations: 8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.2592, allocations: 131.9 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.2592, allocations: 19.92 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.2593, allocations: 35.8 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.2596, allocations: 191.7 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2596, allocations: 4 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2596, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2596, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 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.0007716/0.2604, allocations: 478.5 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2604, allocations: 11.97 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.2605, allocations: 38.75 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.2605, allocations: 12.83 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2607, allocations: 172.2 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2607, allocations: 8.375 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2607, allocations: 4.375 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.261, allocations: 93.69 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.261, allocations: 3.984 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.261, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.261, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2612, allocations: 47.97 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.2618, allocations: 328.6 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.2621, allocations: 86.53 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.2622, allocations: 44.83 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2622, allocations: 8 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.2625, allocations: 87.36 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2625, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.263, allocations: 185.7 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.2631, allocations: 63.41 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2632, allocations: 128.4 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2633, allocations: 29.7 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.2633, allocations: 96.12 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2634, allocations: 19.75 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.2634, allocations: 29.7 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2636, allocations: 326.8 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.2637, allocations: 19.98 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2638, allocations: 70 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.264, allocations: 105.9 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.264, allocations: 0 / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002629/0.2643, allocations: 125.3 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2643, allocations: 12.19 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2643, allocations: 3.938 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2643, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.2644, allocations: 19.92 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2645, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.2645, allocations: 11.98 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2646, allocations: 7.938 kB / 1.07 GB, free: 8.285 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 0.000115/0.2647, allocations: 129.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.2647, allocations: 11.91 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.2647, allocations: 4.719 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2647, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2647, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2648, allocations: 3.984 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.2654, allocations: 430.4 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2654, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.2655, allocations: 11.94 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2655, allocations: 0 / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2655, allocations: 7.984 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2655, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2655, allocations: 3.938 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.2659, allocations: 239.4 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.266, allocations: 89.02 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.266, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2662, allocations: 8.031 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2662, allocations: 11.92 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2662, allocations: 7.984 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.2663, allocations: 101 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2663, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003383/0.2666, allocations: 51.98 kB / 1.071 GB, free: 7.09 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.0009976/0.2677, allocations: 0.85 MB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.268, allocations: 91.83 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.268, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2681, allocations: 55.89 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.2684, allocations: 17.42 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2703, allocations: 1.579 MB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2706, allocations: 0.6987 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2707, allocations: 7.984 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.2707, allocations: 19.44 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2707, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2952, allocations: 3.164 MB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.979, allocations: 14.36 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches