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.001617/0.001617, allocations: 116.6 kB / 16.37 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.001352/0.001352, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.521/2.521, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 64.86 kB / 0.8141 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3665, allocations: 140.4 MB / 0.9512 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.00315/0.3697, allocations: 1.207 MB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.3705, allocations: 243.8 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.3708, allocations: 7.938 kB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3712, allocations: 111.3 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3715, allocations: 67.78 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3717, allocations: 79.91 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.3726, allocations: 0.7337 MB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.3749, allocations: 1.95 MB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.3756, allocations: 0.5572 MB / 0.956 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.3763, allocations: 0.6931 MB / 0.9567 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.3765, allocations: 116 kB / 0.9568 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3767, allocations: 120 kB / 0.9569 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006184/0.3773, allocations: 0.7211 MB / 0.9576 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008048/0.3781, allocations: 0.8198 MB / 0.9584 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.3802, allocations: 2.565 MB / 0.9609 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3802, allocations: 0 / 0.9609 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3802, allocations: 0 / 0.9609 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.497e-05/0.3803, allocations: 0 / 0.9609 GB, free: 13.98 MB / 0.7481 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.002371/0.3827, allocations: 1.867 MB / 0.9627 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3827, allocations: 8.031 kB / 0.9627 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.383, allocations: 198.5 kB / 0.9629 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.3848, allocations: 0.9455 MB / 0.9638 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.385, allocations: 152.5 kB / 0.964 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.3852, allocations: 200.4 kB / 0.9642 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.3891, allocations: 2.802 MB / 0.9669 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.3891, allocations: 12.06 kB / 0.9669 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.3893, allocations: 95.88 kB / 0.967 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.3894, allocations: 56 kB / 0.9671 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.3919, allocations: 1.643 MB / 0.9687 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.4027, allocations: 10.47 MB / 0.9789 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.4029, allocations: 169.1 kB / 0.9791 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.403, allocations: 88.02 kB / 0.9791 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.403, allocations: 79.28 kB / 0.9792 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.4031, allocations: 113.8 kB / 0.9793 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 3.106e-06/0.4031, allocations: 0 / 0.9793 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001863/0.4033, allocations: 80.95 kB / 0.9794 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.4034, allocations: 130.6 kB / 0.9795 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4044, allocations: 0.9088 MB / 0.9804 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.4045, allocations: 25.7 kB / 0.9804 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.405, allocations: 0.851 MB / 0.9813 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.4051, allocations: 11.98 kB / 0.9813 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.4054, allocations: 271 kB / 0.9815 GB, free: 8.012 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4056, allocations: 378.8 kB / 0.9819 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4057, allocations: 133.2 kB / 0.982 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.4062, allocations: 0.5873 MB / 0.9826 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.407, allocations: 0.7728 MB / 0.9834 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.4071, allocations: 4 kB / 0.9834 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001154/0.4082, allocations: 0.7044 MB / 0.9841 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.4083, allocations: 12 kB / 0.9841 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4083, allocations: 16 kB / 0.9841 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.206e-05/0.4084, allocations: 28.06 kB / 0.9841 GB, free: 4.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.4086, allocations: 83.77 kB / 0.9842 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.4086, allocations: 35.86 kB / 0.9842 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.409, allocations: 83.06 kB / 0.9843 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.409, allocations: 43.98 kB / 0.9843 GB, free: 4.668 MB / 0.7637 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.001129/0.4102, allocations: 0.7548 MB / 0.9851 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4103, allocations: 164.2 kB / 0.9852 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.4104, allocations: 173.3 kB / 0.9854 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.711e-05/0.4105, allocations: 180.2 kB / 0.9856 GB, free: 3.375 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.024e-05/0.4106, allocations: 180.3 kB / 0.9857 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.772e-05/0.4107, allocations: 180.2 kB / 0.9859 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.4124, allocations: 1.605 MB / 0.9875 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/0.4125, allocations: 112.9 kB / 0.9876 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.4125, allocations: 104.9 kB / 0.9877 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.253e-05/0.4126, allocations: 180.2 kB / 0.9879 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.4127, allocations: 184.2 kB / 0.988 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.695e-05/0.4128, allocations: 180.3 kB / 0.9882 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.823e-05/0.4129, allocations: 180.2 kB / 0.9884 GB, free: 388 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.413, allocations: 359.1 kB / 0.9887 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.4132, allocations: 225.4 kB / 0.9889 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.4133, allocations: 180.3 kB / 0.9891 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4135, allocations: 101 kB / 0.9892 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4135, allocations: 188.2 kB / 0.9894 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.4136, allocations: 105.3 kB / 0.9895 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005625/0.4142, allocations: 0.499 MB / 0.99 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4142, allocations: 0 / 0.99 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009554/0.4151, allocations: 325.3 kB / 0.9903 GB, free: 14.35 MB / 0.7794 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.0001784/0.4153, allocations: 174.5 kB / 0.9905 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004392/0.4158, allocations: 303.1 kB / 0.9907 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4158, allocations: 0 / 0.9907 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-06/0.4158, allocations: 3.938 kB / 0.9907 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.4163, allocations: 498.6 kB / 0.9912 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.4199, allocations: 2.319 MB / 0.9935 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.421, allocations: 1.387 MB / 0.9948 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004853/0.4215, allocations: 300.5 kB / 0.9951 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.4216, allocations: 35.44 kB / 0.9952 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of SimCode: time 1.272e-06/0.4216, allocations: 0 / 0.9952 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.009459/0.4311, allocations: 2.575 MB / 0.9977 GB, free: 6.742 MB / 0.7794 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 -s cvode -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/jenkins1/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