Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",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.007192/0.007192, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002051/0.002051, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.7 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2737, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.002128/0.2758, allocations: 0.9221 MB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2776, allocations: 1.261 MB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.2777, allocations: 0 / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2778, allocations: 19.8 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.2779, allocations: 19.8 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.2786, allocations: 253.5 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.279, allocations: 311.4 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2792, allocations: 90.05 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2793, allocations: 107.8 kB / 1.244 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.2795, allocations: 115.5 kB / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.2796, allocations: 32 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2797, allocations: 43.98 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.2798, allocations: 35.91 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2799, allocations: 107.6 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.2803, allocations: 351 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2804, allocations: 7.984 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2804, allocations: 0 / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2804, allocations: 0 / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007743/0.2812, allocations: 0.5176 MB / 1.246 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2812, allocations: 8.031 kB / 1.246 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.2813, allocations: 46.73 kB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.2813, allocations: 20.84 kB / 1.246 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.282, allocations: 286.1 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.282, allocations: 16.36 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2821, allocations: 12.38 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.2823, allocations: 133.9 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2823, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2823, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2824, allocations: 4 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2825, allocations: 91.88 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.2834, allocations: 0.5774 MB / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.2837, allocations: 98.72 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.2838, allocations: 32.78 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2838, allocations: 4 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.284, allocations: 119.2 kB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.284, allocations: 0 / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000385/0.2844, allocations: 161.5 kB / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.2845, allocations: 67.33 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2847, allocations: 174.3 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.2847, allocations: 33.7 kB / 1.247 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2849, allocations: 124.3 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.2849, allocations: 31.73 kB / 1.247 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.285, allocations: 69.67 kB / 1.248 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2852, allocations: 326.8 kB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2854, allocations: 71.95 kB / 1.248 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2856, allocations: 130 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2859, allocations: 224.1 kB / 1.248 GB, free: 2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.286, allocations: 4 kB / 1.248 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000583/0.2865, allocations: 324.7 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.2866, allocations: 63.41 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2866, allocations: 3.984 kB / 1.249 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2866, allocations: 4 kB / 1.249 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.2867, allocations: 19.94 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2868, allocations: 4 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.2871, allocations: 56.17 kB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.2872, allocations: 23.92 kB / 1.249 GB, free: 1.477 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,groTwo.booPul.y,$PRE.groTwo.booPul.y,groOne.booPul.y,$PRE.groOne.booPul.y,ahuMod.yAhuOpeMod,ahuMod.uOpeMod[2],ahuMod.uOpeMod[1],groThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.000156/0.2873, allocations: 149 kB / 1.249 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2874, allocations: 15.84 kB / 1.249 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.2877, allocations: 143 kB / 1.249 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2877, allocations: 4 kB / 1.249 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2877, allocations: 4 kB / 1.249 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2877, allocations: 0 / 1.249 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2879, allocations: 233.6 kB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2879, allocations: 3.938 kB / 1.249 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.288, allocations: 11.98 kB / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.288, allocations: 0 / 1.249 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.288, allocations: 7.938 kB / 1.249 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2881, allocations: 0 / 1.249 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2881, allocations: 0 / 1.249 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2883, allocations: 164.9 kB / 1.249 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.2884, allocations: 96.95 kB / 1.25 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2884, allocations: 0 / 1.25 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.2885, allocations: 4 kB / 1.25 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.2885, allocations: 15.97 kB / 1.25 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2885, allocations: 8 kB / 1.25 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001118/0.2887, allocations: 124.2 kB / 1.25 GB, free: 416 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2887, allocations: 0 / 1.25 GB, free: 416 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002782/0.289, allocations: 47.89 kB / 1.25 GB, free: 368 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ahuMod.uOpeMod[1],ahuMod.uOpeMod[2],ahuMod.yAhuOpeMod,groOne.booPul.y,groTwo.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006208/0.2896, allocations: 0.7105 MB / 1.25 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.2901, allocations: 290.7 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2901, allocations: 3.938 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2902, allocations: 52.41 kB / 1.251 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2905, allocations: 41.81 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.2933, allocations: 2.136 MB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.2937, allocations: 0.7241 MB / 1.254 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.907e-05/0.2938, allocations: 33.33 kB / 1.254 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.2939, allocations: 51.41 kB / 1.254 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.2939, allocations: 4 kB / 1.254 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.32, allocations: 4.334 MB / 1.258 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.016, allocations: 4.062 kB / 1.258 GB, free: 7.949 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches