Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_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.001294/0.001301, allocations: 108 kB / 15.61 MB, free: 152 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.001401/0.001401, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 72.69 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002953/0.2422, allocations: 1.213 MB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.2429, allocations: 235.8 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.2431, allocations: 15.88 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.2434, allocations: 111.3 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2436, allocations: 67.72 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.2438, allocations: 75.92 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.2445, allocations: 0.7338 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.2464, allocations: 1.95 MB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.2469, allocations: 0.5533 MB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.2476, allocations: 0.6893 MB / 0.789 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.2478, allocations: 119.9 kB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.248, allocations: 116 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/0.2486, allocations: 0.7249 MB / 0.7899 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008349/0.2494, allocations: 0.8237 MB / 0.7907 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.2516, allocations: 2.438 MB / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.2516, allocations: 0 / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.839e-06/0.2517, allocations: 0 / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.349e-05/0.2517, allocations: 3.938 kB / 0.7931 GB, free: 3.418 MB / 0.6075 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.002539/0.2543, allocations: 1.866 MB / 0.7949 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.2543, allocations: 12.03 kB / 0.795 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003421/0.2547, allocations: 307.5 kB / 0.7953 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.255, allocations: 198.6 kB / 0.7954 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.2565, allocations: 0.9494 MB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.2566, allocations: 156.5 kB / 0.7965 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.2568, allocations: 196.4 kB / 0.7967 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.2607, allocations: 2.802 MB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.2608, allocations: 15.81 kB / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.261, allocations: 92 kB / 0.7995 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.261, allocations: 56 kB / 0.7996 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.2634, allocations: 1.639 MB / 0.8012 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008959/0.2724, allocations: 10.46 MB / 0.8114 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.2726, allocations: 181 kB / 0.8116 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.2726, allocations: 84.14 kB / 0.8117 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.2727, allocations: 79.22 kB / 0.8117 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2727, allocations: 105.8 kB / 0.8118 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.2727, allocations: 0 / 0.8118 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.000133/0.2729, allocations: 85.03 kB / 0.8119 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.2729, allocations: 134.6 kB / 0.8121 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.2739, allocations: 0.9126 MB / 0.8129 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2739, allocations: 25.7 kB / 0.813 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/0.2744, allocations: 0.8431 MB / 0.8138 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.2744, allocations: 15.98 kB / 0.8138 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.2747, allocations: 275 kB / 0.8141 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2749, allocations: 370.8 kB / 0.8144 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2751, allocations: 137.2 kB / 0.8146 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.2755, allocations: 0.5834 MB / 0.8151 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.2763, allocations: 0.7728 MB / 0.8159 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2763, allocations: 4 kB / 0.8159 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001032/0.2774, allocations: 0.7081 MB / 0.8166 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.2774, allocations: 12 kB / 0.8166 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.2774, allocations: 16 kB / 0.8166 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.2775, allocations: 20 kB / 0.8166 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2777, allocations: 91.7 kB / 0.8167 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.2778, allocations: 27.88 kB / 0.8167 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.2781, allocations: 91.05 kB / 0.8168 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2781, allocations: 44.38 kB / 0.8169 GB, free: 9.793 MB / 0.6387 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.001189/0.2793, allocations: 0.7613 MB / 0.8176 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2795, allocations: 152.3 kB / 0.8178 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.2796, allocations: 169.2 kB / 0.8179 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.128e-05/0.2797, allocations: 184.2 kB / 0.8181 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-05/0.2798, allocations: 180.2 kB / 0.8183 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-05/0.2799, allocations: 180.3 kB / 0.8184 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.2817, allocations: 1.605 MB / 0.82 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/0.2818, allocations: 108.9 kB / 0.8201 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2818, allocations: 101 kB / 0.8202 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.839e-05/0.2819, allocations: 184.2 kB / 0.8204 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.2819, allocations: 188.2 kB / 0.8206 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.06e-05/0.282, allocations: 176.3 kB / 0.8207 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.408e-05/0.2821, allocations: 180.2 kB / 0.8209 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.2823, allocations: 366.9 kB / 0.8212 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2824, allocations: 225.4 kB / 0.8215 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.2825, allocations: 176.3 kB / 0.8216 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.2826, allocations: 108.9 kB / 0.8217 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.2827, allocations: 184.3 kB / 0.8219 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.2827, allocations: 109.2 kB / 0.822 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005278/0.2832, allocations: 0.4912 MB / 0.8225 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2832, allocations: 0 / 0.8225 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001034/0.2843, allocations: 333.3 kB / 0.8228 GB, free: 3.469 MB / 0.6387 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.0005858/0.2849, allocations: 0.8589 MB / 0.8236 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.2854, allocations: 303.7 kB / 0.8239 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2854, allocations: 0 / 0.8239 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.2854, allocations: 0 / 0.8239 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.286, allocations: 0.49 MB / 0.8244 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.2941, allocations: 6.936 MB / 0.8312 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.2952, allocations: 1.395 MB / 0.8326 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004545/0.2957, allocations: 292.5 kB / 0.8328 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.2962, allocations: 0.5188 MB / 0.8333 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.2962, allocations: 0 / 0.8333 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.3315, allocations: 12.38 MB / 0.8454 GB, free: 11.89 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.362, allocations: 9.391 kB / 0.8454 GB, free: 11.88 MB / 0.67 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1)