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.001317/0.001317, allocations: 100.1 kB / 15.88 MB, free: 12 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.001548/0.001548, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7188, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002865/0.7217, allocations: 1.242 MB / 0.9508 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.7225, allocations: 233 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.7227, allocations: 14.56 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.723, allocations: 99.78 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.7233, allocations: 63.05 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.7234, allocations: 68.39 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.7242, allocations: 0.7625 MB / 0.952 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.7265, allocations: 1.909 MB / 0.9539 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.727, allocations: 471.5 kB / 0.9543 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.7278, allocations: 0.6822 MB / 0.955 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.7281, allocations: 74.06 kB / 0.9551 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.7284, allocations: 73.31 kB / 0.9552 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006656/0.7291, allocations: 0.6748 MB / 0.9558 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.7303, allocations: 0.7443 MB / 0.9565 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.7322, allocations: 2.003 MB / 0.9585 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7322, allocations: 3.938 kB / 0.9585 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7322, allocations: 0 / 0.9585 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001493/0.7324, allocations: 1.438 kB / 0.9585 GB, free: 3.629 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.004663/0.737, allocations: 1.872 MB / 0.9603 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7371, allocations: 8.719 kB / 0.9603 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/0.7376, allocations: 199 kB / 0.9605 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.7391, allocations: 0.9475 MB / 0.9615 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7393, allocations: 154.6 kB / 0.9616 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.7395, allocations: 196.4 kB / 0.9618 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.7439, allocations: 2.796 MB / 0.9645 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.744, allocations: 17.53 kB / 0.9645 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.7442, allocations: 95.55 kB / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.7443, allocations: 55.94 kB / 0.9647 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.747, allocations: 1.639 MB / 0.9663 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009729/0.7567, allocations: 10.47 MB / 0.9765 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.7568, allocations: 166.5 kB / 0.9767 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.7569, allocations: 85.39 kB / 0.9767 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.7569, allocations: 75.28 kB / 0.9768 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.757, allocations: 115.3 kB / 0.9769 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.757, allocations: 0 / 0.9769 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001616/0.7571, allocations: 80.89 kB / 0.977 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.7572, allocations: 126.7 kB / 0.9771 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7583, allocations: 0.9164 MB / 0.978 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7583, allocations: 29.69 kB / 0.9781 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/0.7589, allocations: 0.8433 MB / 0.9789 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.7589, allocations: 15.98 kB / 0.9789 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.7592, allocations: 275 kB / 0.9792 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7594, allocations: 370.8 kB / 0.9795 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.7595, allocations: 133.2 kB / 0.9796 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.76, allocations: 0.5912 MB / 0.9802 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.7607, allocations: 0.7689 MB / 0.981 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.7607, allocations: 8 kB / 0.981 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001033/0.7618, allocations: 0.6997 MB / 0.9817 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7618, allocations: 12.97 kB / 0.9817 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.7618, allocations: 16 kB / 0.9817 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.7619, allocations: 20 kB / 0.9817 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.7621, allocations: 99.64 kB / 0.9818 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.7621, allocations: 31.86 kB / 0.9818 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.7624, allocations: 83.12 kB / 0.9819 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.7625, allocations: 40 kB / 0.9819 GB, free: 15.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.001145/0.7636, allocations: 0.7568 MB / 0.9827 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.7638, allocations: 168.1 kB / 0.9828 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.7639, allocations: 181 kB / 0.983 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.764, allocations: 176.3 kB / 0.9832 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-05/0.7641, allocations: 180.2 kB / 0.9834 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001603/0.7643, allocations: 180.3 kB / 0.9835 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.7662, allocations: 1.604 MB / 0.9851 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-05/0.7663, allocations: 101 kB / 0.9852 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.7663, allocations: 113 kB / 0.9853 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.7664, allocations: 184.2 kB / 0.9855 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.7666, allocations: 176.3 kB / 0.9856 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-05/0.7667, allocations: 180.2 kB / 0.9858 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.948e-05/0.7667, allocations: 180.3 kB / 0.986 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.767, allocations: 363 kB / 0.9863 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.7671, allocations: 221.7 kB / 0.9865 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.7672, allocations: 184.2 kB / 0.9867 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.7674, allocations: 105 kB / 0.9868 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.7675, allocations: 188.2 kB / 0.987 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.7675, allocations: 105 kB / 0.9871 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005401/0.768, allocations: 0.4951 MB / 0.9876 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7681, allocations: 4 kB / 0.9876 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009854/0.769, allocations: 325.3 kB / 0.9879 GB, free: 9.324 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.0001406/0.7692, allocations: 174.5 kB / 0.9881 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.7697, allocations: 299.4 kB / 0.9883 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7697, allocations: 0 / 0.9883 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.7697, allocations: 0 / 0.9883 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.7704, allocations: 0.5605 MB / 0.9889 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.7749, allocations: 3.092 MB / 0.9919 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.7762, allocations: 1.396 MB / 0.9933 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.7762, allocations: 39.44 kB / 0.9933 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.7763, allocations: 4 kB / 0.9933 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of Templates: time 0.01634/0.7926, allocations: 11.18 MB / 1.004 GB, free: 8.504 MB / 0.7637 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/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