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.001528/0.001528, 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.001753/0.001753, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.614/1.614, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.602/2.602, allocations: 390.2 MB / 0.6647 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.8126 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8667, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002632/0.8694, allocations: 1.198 MB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.87, allocations: 241.2 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.8701, allocations: 10.81 kB / 0.951 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.8704, allocations: 119.6 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.8706, allocations: 63.05 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.8707, allocations: 79.02 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007334/0.8715, allocations: 0.7275 MB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.8738, allocations: 1.955 MB / 0.9539 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.8745, allocations: 0.5503 MB / 0.9544 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.8752, allocations: 0.6882 MB / 0.9551 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.8755, allocations: 120.2 kB / 0.9552 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.8757, allocations: 116.9 kB / 0.9553 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/0.8764, allocations: 0.7232 MB / 0.956 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.8773, allocations: 0.8234 MB / 0.9568 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.8793, allocations: 2.435 MB / 0.9592 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8793, allocations: 1.188 kB / 0.9592 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8793, allocations: 0 / 0.9592 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.863e-05/0.8794, allocations: 0 / 0.9592 GB, free: 3.059 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.002335/0.8817, allocations: 1.86 MB / 0.961 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/0.8818, allocations: 9.938 kB / 0.9611 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.8822, allocations: 201.8 kB / 0.9612 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8838, allocations: 0.9434 MB / 0.9622 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.8839, allocations: 151.3 kB / 0.9623 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.8842, allocations: 204.1 kB / 0.9625 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.8885, allocations: 2.801 MB / 0.9652 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.8885, allocations: 16.88 kB / 0.9653 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.8887, allocations: 95.09 kB / 0.9653 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.8888, allocations: 60.19 kB / 0.9654 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.8919, allocations: 1.643 MB / 0.967 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.9042, allocations: 10.47 MB / 0.9772 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.9044, allocations: 177.1 kB / 0.9774 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.9044, allocations: 88.08 kB / 0.9775 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9045, allocations: 75.28 kB / 0.9776 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.9045, allocations: 109.8 kB / 0.9777 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.9045, allocations: 0 / 0.9777 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002008/0.9047, allocations: 80.98 kB / 0.9777 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.9048, allocations: 126.7 kB / 0.9779 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.9059, allocations: 0.9165 MB / 0.9788 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.906, allocations: 25.7 kB / 0.9788 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/0.9066, allocations: 0.8432 MB / 0.9796 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.9067, allocations: 15.98 kB / 0.9796 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.907, allocations: 271 kB / 0.9799 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9072, allocations: 378.8 kB / 0.9802 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.9074, allocations: 133.2 kB / 0.9804 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.9079, allocations: 0.5912 MB / 0.9809 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.9087, allocations: 0.7728 MB / 0.9817 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.9087, allocations: 4 kB / 0.9817 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00111/0.9098, allocations: 0.6922 MB / 0.9824 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.9099, allocations: 12 kB / 0.9824 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.9099, allocations: 20 kB / 0.9824 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.314e-05/0.9099, allocations: 20.72 kB / 0.9824 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.9102, allocations: 95.7 kB / 0.9825 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/0.9102, allocations: 31.92 kB / 0.9825 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.9106, allocations: 83.12 kB / 0.9826 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.9106, allocations: 40 kB / 0.9827 GB, free: 14.65 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.001354/0.912, allocations: 0.7529 MB / 0.9834 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.9121, allocations: 160.2 kB / 0.9836 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.9123, allocations: 177 kB / 0.9837 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.9124, allocations: 188.3 kB / 0.9839 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.712e-05/0.9124, allocations: 184.2 kB / 0.9841 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-05/0.9125, allocations: 180.2 kB / 0.9842 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.9145, allocations: 1.605 MB / 0.9858 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.9145, allocations: 112.9 kB / 0.9859 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.9146, allocations: 105 kB / 0.986 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/0.9147, allocations: 184.2 kB / 0.9862 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.9148, allocations: 180.3 kB / 0.9864 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.9148, allocations: 184.2 kB / 0.9865 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.928e-05/0.9149, allocations: 180.2 kB / 0.9867 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.9152, allocations: 367 kB / 0.9871 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9153, allocations: 217.4 kB / 0.9873 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.9154, allocations: 180.2 kB / 0.9874 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.9155, allocations: 105 kB / 0.9875 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.9156, allocations: 180.3 kB / 0.9877 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.9157, allocations: 104.9 kB / 0.9878 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005748/0.9163, allocations: 0.5029 MB / 0.9883 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9163, allocations: 0 / 0.9883 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001149/0.9174, allocations: 329.3 kB / 0.9886 GB, free: 8.316 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.0002174/0.9177, allocations: 170.5 kB / 0.9888 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.9181, allocations: 291.6 kB / 0.9891 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9181, allocations: 4.25 kB / 0.9891 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.9182, allocations: 4 kB / 0.9891 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.9188, allocations: 0.4908 MB / 0.9896 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.9229, allocations: 2.338 MB / 0.9918 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.9242, allocations: 1.407 MB / 0.9932 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005251/0.9247, allocations: 292.5 kB / 0.9935 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.9248, allocations: 39.44 kB / 0.9935 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/0.9248, allocations: 3.938 kB / 0.9935 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of Templates: time 0.009959/0.9348, allocations: 2.561 MB / 0.996 GB, free: 0.6875 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