Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_10_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.007607/0.007607, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002077/0.002077, allocations: 196.4 kB / 16.67 MB, free: 5.934 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002647/0.2993, allocations: 1.505 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3007, allocations: 0.8218 MB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.3008, allocations: 11.88 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.3008, allocations: 7.938 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.3009, allocations: 11.86 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.3015, allocations: 155.5 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3016, allocations: 91.7 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.3017, allocations: 8 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3018, allocations: 47.84 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.3019, allocations: 47.81 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.302, allocations: 8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.3022, allocations: 123.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.3022, allocations: 19.97 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.3023, allocations: 43.78 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.3026, allocations: 175.7 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3026, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3026, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3026, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 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.0007561/0.3034, allocations: 494.1 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3034, allocations: 11.97 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.3035, allocations: 38.75 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3035, allocations: 12.89 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3037, allocations: 178.9 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3037, allocations: 8.375 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3037, allocations: 4.375 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.304, allocations: 89.77 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.304, allocations: 3.938 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.304, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.304, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3042, allocations: 51.95 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3047, allocations: 324.7 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.305, allocations: 86.5 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3051, allocations: 40.84 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3051, allocations: 8.141 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.3054, allocations: 91.36 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.3054, allocations: 0 / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.306, allocations: 193.5 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.306, allocations: 55.34 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3061, allocations: 134 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3062, allocations: 25.7 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3062, allocations: 96.14 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3063, allocations: 27.83 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3063, allocations: 25.72 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3065, allocations: 326.8 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.3066, allocations: 23.98 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3067, allocations: 73.98 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3069, allocations: 109.9 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3069, allocations: 0 / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002604/0.3072, allocations: 125.5 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3072, allocations: 6.656 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3072, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3072, allocations: 4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.3073, allocations: 19.92 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3074, allocations: 4.188 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.3074, allocations: 11.89 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3075, allocations: 4 kB / 1.172 GB, free: 1.297 MB / 0.92 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.0001031/0.3076, allocations: 133.8 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3076, allocations: 7.953 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.3076, allocations: 12.72 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3076, allocations: 0 / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3076, allocations: 4 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3076, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.3083, allocations: 434.7 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3083, allocations: 3.984 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3083, allocations: 4 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3083, allocations: 0 / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3084, allocations: 3.984 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3084, allocations: 7.938 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.3084, allocations: 12.02 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3088, allocations: 243.4 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3089, allocations: 89.05 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3089, allocations: 0 / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.309, allocations: 11.98 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.309, allocations: 3.938 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3091, allocations: 15.98 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.3091, allocations: 101.9 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3091, allocations: 0 / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003234/0.3095, allocations: 47.88 kB / 1.173 GB, free: 88 kB / 0.92 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.001017/0.3105, allocations: 0.855 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3108, allocations: 79.89 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3108, allocations: 384 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.311, allocations: 55.91 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3112, allocations: 11.94 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3131, allocations: 1.594 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3134, allocations: 0.6979 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3135, allocations: 4 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3135, allocations: 23.42 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3135, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3384, allocations: 3.205 MB / 1.179 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.2, allocations: 17.2 kB / 1.179 GB, free: 9.551 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches