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.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: 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.001378/0.001378, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002652/0.002651, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.484 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.499/2.499, allocations: 390.2 MB / 0.6643 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 59.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.8747, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.003203/0.878, allocations: 1.246 MB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.8787, allocations: 233 kB / 0.9506 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.8788, allocations: 14.62 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.8792, allocations: 103.8 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.8794, allocations: 67.03 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.8796, allocations: 68.39 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.8807, allocations: 0.7885 MB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.8835, allocations: 1.95 MB / 0.9535 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.8842, allocations: 0.5506 MB / 0.954 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.8852, allocations: 0.7234 MB / 0.9547 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.8855, allocations: 116.5 kB / 0.9548 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.8859, allocations: 120.8 kB / 0.955 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008903/0.8868, allocations: 0.7237 MB / 0.9557 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.8879, allocations: 0.8233 MB / 0.9565 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.8912, allocations: 2.431 MB / 0.9588 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.8912, allocations: 1.406 kB / 0.9588 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8912, allocations: 0 / 0.9588 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.345e-05/0.8913, allocations: 0 / 0.9588 GB, free: 3.07 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.003788/0.8951, allocations: 1.863 MB / 0.9607 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.8952, allocations: 9.375 kB / 0.9607 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.8957, allocations: 199.5 kB / 0.9609 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.8982, allocations: 0.9553 MB / 0.9618 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.8985, allocations: 154.8 kB / 0.9619 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.8989, allocations: 196 kB / 0.9621 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007571/0.9065, allocations: 2.8 MB / 0.9649 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.118e-05/0.9067, allocations: 12.41 kB / 0.9649 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/0.907, allocations: 95.75 kB / 0.965 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.542e-05/0.9071, allocations: 56.84 kB / 0.965 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.9119, allocations: 1.642 MB / 0.9666 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.9255, allocations: 10.48 MB / 0.9769 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.9257, allocations: 169.1 kB / 0.977 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.9257, allocations: 88.08 kB / 0.9771 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.9258, allocations: 75.28 kB / 0.9772 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.9258, allocations: 109.8 kB / 0.9773 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.405e-06/0.9258, allocations: 4 kB / 0.9773 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002064/0.926, allocations: 77.05 kB / 0.9774 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.9261, allocations: 126.7 kB / 0.9775 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.9274, allocations: 0.9165 MB / 0.9784 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.9274, allocations: 25.7 kB / 0.9784 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/0.9281, allocations: 0.847 MB / 0.9792 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.9281, allocations: 11.98 kB / 0.9792 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.9285, allocations: 275 kB / 0.9795 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9287, allocations: 374.8 kB / 0.9799 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.9289, allocations: 133.2 kB / 0.98 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.9294, allocations: 0.5873 MB / 0.9806 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.9301, allocations: 0.7767 MB / 0.9813 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.9302, allocations: 4 kB / 0.9813 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001175/0.9313, allocations: 0.7 MB / 0.982 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9314, allocations: 12 kB / 0.982 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.9314, allocations: 19.98 kB / 0.982 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.9315, allocations: 20 kB / 0.9821 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.9317, allocations: 88.38 kB / 0.9821 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.9317, allocations: 31.86 kB / 0.9822 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.9322, allocations: 87.12 kB / 0.9823 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.9322, allocations: 40 kB / 0.9823 GB, free: 14.73 MB / 0.7481 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.001288/0.9335, allocations: 0.7529 MB / 0.983 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.9337, allocations: 168.2 kB / 0.9832 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.9338, allocations: 169.1 kB / 0.9833 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-05/0.9339, allocations: 184.2 kB / 0.9835 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-05/0.934, allocations: 180.3 kB / 0.9837 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-05/0.9341, allocations: 180.2 kB / 0.9839 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.9364, allocations: 1.608 MB / 0.9854 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-05/0.9365, allocations: 108.9 kB / 0.9855 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.9365, allocations: 104.9 kB / 0.9856 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-05/0.9366, allocations: 184.3 kB / 0.9858 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/0.9366, allocations: 184.2 kB / 0.986 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.877e-05/0.9367, allocations: 176.3 kB / 0.9862 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.019e-05/0.9368, allocations: 180.2 kB / 0.9863 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.937, allocations: 363 kB / 0.9867 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.9371, allocations: 225.6 kB / 0.9869 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.9372, allocations: 180.2 kB / 0.9871 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.9373, allocations: 109 kB / 0.9872 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.9374, allocations: 184.2 kB / 0.9873 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.9374, allocations: 101 kB / 0.9874 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005534/0.938, allocations: 0.5029 MB / 0.9879 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.938, allocations: 0 / 0.9879 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00103/0.939, allocations: 329.3 kB / 0.9882 GB, free: 8.398 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 (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.0001562/0.9392, allocations: 170.5 kB / 0.9884 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.9397, allocations: 295.4 kB / 0.9887 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9397, allocations: 0.5 kB / 0.9887 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.9397, allocations: 8 kB / 0.9887 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.9403, allocations: 0.4908 MB / 0.9892 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.9448, allocations: 2.967 MB / 0.9921 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.9463, allocations: 1.403 MB / 0.9934 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006978/0.947, allocations: 292.5 kB / 0.9937 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.9472, allocations: 35.44 kB / 0.9938 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/0.9472, allocations: 4 kB / 0.9938 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of Templates: time 0.01139/0.9586, allocations: 2.553 MB / 0.9963 GB, free: 152 kB / 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