Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009223, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.651/2.651, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 11.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8138, allocations: 142.4 MB / 0.9545 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001246/0.8151, allocations: 0.8425 MB / 0.9553 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.8155, allocations: 232.3 kB / 0.9555 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.8156, allocations: 11.5 kB / 0.9555 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.8158, allocations: 90.47 kB / 0.9556 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.816, allocations: 72.33 kB / 0.9557 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.8161, allocations: 54.03 kB / 0.9557 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.8169, allocations: 0.8101 MB / 0.9565 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.8182, allocations: 1.471 MB / 0.958 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.8184, allocations: 176.6 kB / 0.9581 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.8185, allocations: 198.9 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.8186, allocations: 12.59 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.8186, allocations: 16.22 kB / 0.9583 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.8191, allocations: 0.523 MB / 0.9589 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.8192, allocations: 262.2 kB / 0.9591 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.8206, allocations: 1.984 MB / 0.961 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8206, allocations: 8 kB / 0.9611 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8206, allocations: 0 / 0.9611 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.8206, allocations: 3 kB / 0.9611 GB, free: 3.719 MB / 0.7169 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.001526/0.8222, allocations: 1.475 MB / 0.9625 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8222, allocations: 9.469 kB / 0.9625 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.8225, allocations: 196.5 kB / 0.9627 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.8238, allocations: 0.9388 MB / 0.9636 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.8239, allocations: 150.9 kB / 0.9638 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.8242, allocations: 199.3 kB / 0.9639 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.828, allocations: 2.784 MB / 0.9667 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.828, allocations: 12.5 kB / 0.9667 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.8282, allocations: 92.06 kB / 0.9668 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.8283, allocations: 56.94 kB / 0.9668 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.8309, allocations: 1.625 MB / 0.9684 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009409/0.8403, allocations: 10.46 MB / 0.9786 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.8405, allocations: 169.1 kB / 0.9788 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.8405, allocations: 84.14 kB / 0.9789 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8405, allocations: 83.22 kB / 0.9789 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.8406, allocations: 109.9 kB / 0.9791 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.8406, allocations: 0 / 0.9791 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001734/0.8408, allocations: 77.05 kB / 0.9791 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.8408, allocations: 134.7 kB / 0.9793 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.8418, allocations: 0.9049 MB / 0.9801 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.8418, allocations: 25.7 kB / 0.9802 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.8424, allocations: 0.8472 MB / 0.981 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.8424, allocations: 15.98 kB / 0.981 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.8424, allocations: 12 kB / 0.981 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8425, allocations: 370.8 kB / 0.9814 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.8427, allocations: 133.2 kB / 0.9815 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.8431, allocations: 0.5834 MB / 0.9821 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.8435, allocations: 275.6 kB / 0.9823 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.8435, allocations: 4 kB / 0.9823 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009168/0.8444, allocations: 0.7006 MB / 0.983 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8444, allocations: 16 kB / 0.983 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.8445, allocations: 20 kB / 0.9831 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.8445, allocations: 24 kB / 0.9831 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.8447, allocations: 83.72 kB / 0.9832 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/0.8447, allocations: 31.92 kB / 0.9832 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.845, allocations: 87.06 kB / 0.9833 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.8451, allocations: 47.89 kB / 0.9833 GB, free: 0.8789 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000979/0.8461, allocations: 0.7607 MB / 0.9841 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8462, allocations: 156.3 kB / 0.9842 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.8463, allocations: 169.1 kB / 0.9844 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.8463, allocations: 176.3 kB / 0.9845 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.323e-05/0.8464, allocations: 184.2 kB / 0.9847 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.084e-05/0.8464, allocations: 188.3 kB / 0.9849 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.8481, allocations: 1.608 MB / 0.9865 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.8481, allocations: 105 kB / 0.9866 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.8481, allocations: 101 kB / 0.9867 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/0.8482, allocations: 180.2 kB / 0.9868 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.8483, allocations: 180.2 kB / 0.987 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.721e-05/0.8484, allocations: 188.2 kB / 0.9872 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-05/0.8484, allocations: 180.3 kB / 0.9874 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.8486, allocations: 355.1 kB / 0.9877 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.8487, allocations: 229.3 kB / 0.9879 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.8488, allocations: 184.2 kB / 0.9881 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.8489, allocations: 109 kB / 0.9882 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.849, allocations: 176.3 kB / 0.9884 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.849, allocations: 104.9 kB / 0.9885 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005112/0.8495, allocations: 0.4912 MB / 0.9889 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8496, allocations: 0 / 0.9889 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00101/0.8506, allocations: 329.3 kB / 0.9892 GB, free: 10.57 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.8508, allocations: 186.3 kB / 0.9894 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.8512, allocations: 290.3 kB / 0.9897 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8512, allocations: 0 / 0.9897 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.8512, allocations: 0 / 0.9897 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.8518, allocations: 0.5673 MB / 0.9903 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.8562, allocations: 2.827 MB / 0.993 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.8573, allocations: 1.396 MB / 0.9944 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004865/0.8578, allocations: 296.5 kB / 0.9947 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.8579, allocations: 35.44 kB / 0.9947 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of SimCode: time 8.42e-07/0.8579, allocations: 0 / 0.9947 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.009723/0.8676, allocations: 2.503 MB / 0.9971 GB, free: 2.445 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches