Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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.001487/0.001487, allocations: 114.4 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.001609/0.001609, allocations: 192.6 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.19 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002603/0.2704, allocations: 1.229 MB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005063/0.2709, allocations: 243.7 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.271, allocations: 11.94 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2712, allocations: 107.3 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.2714, allocations: 67.72 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2716, allocations: 79.91 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.2723, allocations: 0.7376 MB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.2741, allocations: 1.961 MB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.2745, allocations: 0.5533 MB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.2751, allocations: 0.6855 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.2752, allocations: 116 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2754, allocations: 116 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.276, allocations: 0.7288 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.2767, allocations: 0.8198 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.2785, allocations: 2.62 MB / 1.037 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2785, allocations: 4 kB / 1.037 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2785, allocations: 0 / 1.037 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.2785, allocations: 0 / 1.037 GB, free: 7.922 MB / 0.8106 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.001873/0.2804, allocations: 1.87 MB / 1.038 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2804, allocations: 12.03 kB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.2807, allocations: 194.6 kB / 1.039 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.2825, allocations: 0.9493 MB / 1.04 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.2826, allocations: 156.5 kB / 1.04 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.2828, allocations: 196.4 kB / 1.04 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.2861, allocations: 2.802 MB / 1.043 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.2862, allocations: 16.05 kB / 1.043 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.2864, allocations: 95.94 kB / 1.043 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.2864, allocations: 60 kB / 1.043 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.2886, allocations: 1.631 MB / 1.044 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007576/0.2962, allocations: 10.47 MB / 1.055 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.2963, allocations: 169.1 kB / 1.055 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.2963, allocations: 84.08 kB / 1.055 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2964, allocations: 83.27 kB / 1.055 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.2964, allocations: 105.8 kB / 1.055 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 4.028e-06/0.2964, allocations: 0 / 1.055 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.2965, allocations: 80.98 kB / 1.055 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.2966, allocations: 130.7 kB / 1.055 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.2975, allocations: 0.9127 MB / 1.056 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2975, allocations: 25.7 kB / 1.056 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.298, allocations: 0.8472 MB / 1.057 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.298, allocations: 11.98 kB / 1.057 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.2983, allocations: 275 kB / 1.057 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2984, allocations: 370.8 kB / 1.058 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2986, allocations: 133.2 kB / 1.058 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.299, allocations: 0.5912 MB / 1.058 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2998, allocations: 0.7689 MB / 1.059 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.2998, allocations: 8 kB / 1.059 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009667/0.3008, allocations: 0.7043 MB / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3008, allocations: 15.94 kB / 1.06 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3008, allocations: 20.16 kB / 1.06 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.3008, allocations: 20 kB / 1.06 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.3011, allocations: 91.7 kB / 1.06 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.3011, allocations: 31.86 kB / 1.06 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3014, allocations: 87.06 kB / 1.06 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.3014, allocations: 47.94 kB / 1.06 GB, free: 14.61 MB / 0.8419 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.0007356/0.3022, allocations: 0.7529 MB / 1.061 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3023, allocations: 164.2 kB / 1.061 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3024, allocations: 169.3 kB / 1.061 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/0.3025, allocations: 180.2 kB / 1.061 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.474e-05/0.3025, allocations: 176.3 kB / 1.061 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-05/0.3026, allocations: 180.3 kB / 1.062 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.304, allocations: 1.608 MB / 1.063 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/0.304, allocations: 105 kB / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.3041, allocations: 116.9 kB / 1.063 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/0.3041, allocations: 176.3 kB / 1.064 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.3042, allocations: 176.3 kB / 1.064 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.862e-05/0.3043, allocations: 180.2 kB / 1.064 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.159e-05/0.3043, allocations: 184.3 kB / 1.064 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3046, allocations: 363 kB / 1.064 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.3047, allocations: 221.3 kB / 1.065 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3049, allocations: 184.2 kB / 1.065 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.305, allocations: 101 kB / 1.065 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.3051, allocations: 192.5 kB / 1.065 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.3051, allocations: 101 kB / 1.065 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005246/0.3057, allocations: 0.4951 MB / 1.066 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3057, allocations: 4 kB / 1.066 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007017/0.3064, allocations: 325.3 kB / 1.066 GB, free: 8.289 MB / 0.8419 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.0001253/0.3065, allocations: 174.5 kB / 1.066 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.3069, allocations: 302.8 kB / 1.066 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3069, allocations: 0 / 1.066 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3069, allocations: 0 / 1.066 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3073, allocations: 0.4919 MB / 1.067 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.3101, allocations: 2.311 MB / 1.069 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009941/0.3111, allocations: 1.395 MB / 1.071 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.3115, allocations: 300.4 kB / 1.071 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.3116, allocations: 31.44 kB / 1.071 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3116, allocations: 4 kB / 1.071 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of Templates: time 0.008453/0.32, allocations: 2.558 MB / 1.073 GB, free: 0.707 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches