Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",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.00658/0.00658, allocations: 105.3 kB / 15.74 MB, free: 6.488 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.001553/0.001553, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.12 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002267/0.2302, allocations: 1.21 MB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005659/0.2308, allocations: 239.8 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2309, allocations: 15.88 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2312, allocations: 107.3 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.2314, allocations: 75.72 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2316, allocations: 71.92 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.2323, allocations: 0.7376 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.2341, allocations: 1.954 MB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.2346, allocations: 0.5456 MB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.2353, allocations: 0.6932 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.2355, allocations: 119.9 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2356, allocations: 120 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.2362, allocations: 0.7211 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007679/0.237, allocations: 0.8198 MB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.2389, allocations: 2.507 MB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2389, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2389, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.636e-05/0.2389, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.002167/0.2411, allocations: 1.858 MB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2411, allocations: 12.03 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003408/0.2415, allocations: 315.5 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.2418, allocations: 198.6 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.2435, allocations: 0.9532 MB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2436, allocations: 152.5 kB / 1.101 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.2439, allocations: 196.4 kB / 1.101 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.2475, allocations: 2.806 MB / 1.103 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.2476, allocations: 19.8 kB / 1.103 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.2478, allocations: 88 kB / 1.104 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.2479, allocations: 60 kB / 1.104 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.2502, allocations: 1.642 MB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007722/0.2579, allocations: 10.46 MB / 1.115 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.258, allocations: 173.1 kB / 1.116 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.2581, allocations: 88.12 kB / 1.116 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.2581, allocations: 75.28 kB / 1.116 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.2582, allocations: 109.8 kB / 1.116 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.2582, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001422/0.2583, allocations: 80.98 kB / 1.116 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2584, allocations: 130.7 kB / 1.116 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.2593, allocations: 0.9165 MB / 1.117 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.2593, allocations: 29.64 kB / 1.117 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.2599, allocations: 0.8431 MB / 1.118 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2599, allocations: 15.98 kB / 1.118 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.2602, allocations: 271 kB / 1.118 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2604, allocations: 378.8 kB / 1.118 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.2605, allocations: 133.2 kB / 1.119 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.261, allocations: 0.5873 MB / 1.119 GB, free: 372 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.2618, allocations: 0.7689 MB / 1.12 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.2618, allocations: 7.984 kB / 1.12 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001031/0.2629, allocations: 0.6961 MB / 1.121 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2629, allocations: 16 kB / 1.121 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.2629, allocations: 16 kB / 1.121 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.263, allocations: 20.72 kB / 1.121 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2632, allocations: 91.7 kB / 1.121 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/0.2632, allocations: 39.84 kB / 1.121 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.2635, allocations: 87.06 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2636, allocations: 40 kB / 1.121 GB, free: 14.35 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0007614/0.2643, allocations: 0.749 MB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2645, allocations: 160.3 kB / 1.122 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.2646, allocations: 169.3 kB / 1.122 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/0.2646, allocations: 188.3 kB / 1.122 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.925e-05/0.2647, allocations: 180.2 kB / 1.122 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/0.2648, allocations: 176.3 kB / 1.122 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2663, allocations: 1.608 MB / 1.124 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/0.2664, allocations: 101 kB / 1.124 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.2664, allocations: 109 kB / 1.124 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.2665, allocations: 188.1 kB / 1.124 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.2666, allocations: 184.3 kB / 1.125 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-05/0.2666, allocations: 180.2 kB / 1.125 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-05/0.2667, allocations: 176.3 kB / 1.125 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2669, allocations: 367 kB / 1.125 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.267, allocations: 221.3 kB / 1.125 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.2671, allocations: 180.2 kB / 1.126 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.2672, allocations: 105 kB / 1.126 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.2673, allocations: 180.3 kB / 1.126 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2673, allocations: 109.2 kB / 1.126 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005133/0.2679, allocations: 0.5029 MB / 1.127 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2679, allocations: 0 / 1.127 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007756/0.2686, allocations: 333.2 kB / 1.127 GB, free: 8.023 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004345/0.2691, allocations: 0.8594 MB / 1.128 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.2695, allocations: 298.7 kB / 1.128 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2695, allocations: 0 / 1.128 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.2695, allocations: 7.938 kB / 1.128 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.27, allocations: 495.9 kB / 1.128 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.2772, allocations: 6.809 MB / 1.135 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.2782, allocations: 1.399 MB / 1.136 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004522/0.2787, allocations: 296.5 kB / 1.137 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.2792, allocations: 0.5109 MB / 1.137 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.2792, allocations: 0 / 1.137 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.3088, allocations: 12.61 MB / 1.15 GB, free: 336 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.372, allocations: 11.62 kB / 1.15 GB, free: 324 kB / 0.9044 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches