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.007094/0.007094, allocations: 99 kB / 15.73 MB, free: 6.441 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.002033/0.002033, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.416/1.416, 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 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.88 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2683, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002555/0.2708, allocations: 1.491 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2723, allocations: 0.8295 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.2723, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.2723, allocations: 3.938 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.2724, allocations: 15.81 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.273, allocations: 151.5 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2731, allocations: 95.64 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.2732, allocations: 15.98 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.2733, allocations: 43.84 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.2734, allocations: 47.83 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2734, allocations: 8 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.2737, allocations: 123.9 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.2737, allocations: 19.92 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.2738, allocations: 35.8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.274, allocations: 195.4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2741, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2741, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2741, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 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.0007423/0.2748, allocations: 490.1 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2749, allocations: 8.031 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.2749, allocations: 38.73 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.275, allocations: 8.891 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2751, allocations: 180.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2751, allocations: 4.375 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2751, allocations: 12.31 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2754, allocations: 89.75 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2754, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2754, allocations: 3.984 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2754, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2756, allocations: 47.97 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.2762, allocations: 332.6 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.2764, allocations: 78.55 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2765, allocations: 44.83 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2766, allocations: 4 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.2768, allocations: 91.39 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2768, allocations: 4 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.2774, allocations: 181.7 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.2774, allocations: 63.41 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2776, allocations: 128.4 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2776, allocations: 29.7 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.2776, allocations: 100.1 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2777, allocations: 19.78 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.2777, allocations: 33.7 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2779, allocations: 322.8 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.278, allocations: 27.98 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2781, allocations: 77.8 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2783, allocations: 97.94 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2783, allocations: 7.938 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.2786, allocations: 117.6 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2786, allocations: 17.67 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2786, allocations: 4 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2786, allocations: 0 / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.2787, allocations: 16 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2787, allocations: 4.312 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.2788, allocations: 11.94 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2788, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9825 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.0001097/0.279, allocations: 138.2 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.279, allocations: 3.953 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.279, allocations: 12.7 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.279, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.279, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.279, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.2797, allocations: 434.3 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2797, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.2797, allocations: 15.98 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2797, allocations: 0 / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2798, allocations: 4 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2798, allocations: 0 / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2798, allocations: 3.938 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2802, allocations: 239.4 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.2802, allocations: 81.06 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2803, allocations: 16 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2804, allocations: 7.984 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2804, allocations: 11.92 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2805, allocations: 0 / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.2805, allocations: 105.9 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2805, allocations: 4 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003132/0.2809, allocations: 47.86 kB / 1.227 GB, free: 7.121 MB / 0.9825 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.0009582/0.2818, allocations: 0.8471 MB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2821, allocations: 99.81 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2821, allocations: 0 / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2823, allocations: 43.98 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2826, allocations: 11.92 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2844, allocations: 1.607 MB / 1.229 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2847, allocations: 0.6885 MB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.2847, allocations: 7.984 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.2848, allocations: 19.44 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.2848, allocations: 4 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3084, allocations: 3.218 MB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.912, allocations: 11.8 kB / 1.233 GB, free: 0.5703 MB / 0.9825 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