Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001746/0.001745, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.00222/0.00222, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.91 kB / 0.8707 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 151.6 MB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002389/0.2595, allocations: 1.222 MB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.26, allocations: 243.7 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.2601, allocations: 7.938 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.2604, allocations: 115.3 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.2606, allocations: 75.66 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.2607, allocations: 75.91 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.2613, allocations: 0.7337 MB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.2631, allocations: 1.958 MB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.2635, allocations: 0.5533 MB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.2641, allocations: 0.6815 MB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.2643, allocations: 120 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.2644, allocations: 116 kB / 1.025 GB, free: 3.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.265, allocations: 0.7327 MB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.2657, allocations: 0.8198 MB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.2675, allocations: 2.624 MB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2675, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2675, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.2676, allocations: 0 / 1.029 GB, free: 15.65 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.001917/0.2695, allocations: 1.869 MB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2695, allocations: 8.031 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.2698, allocations: 194.6 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.2716, allocations: 0.9494 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2717, allocations: 152.5 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.2719, allocations: 200.4 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.2753, allocations: 2.802 MB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.2754, allocations: 12.06 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.2756, allocations: 91.94 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.2756, allocations: 56 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.2778, allocations: 1.643 MB / 1.036 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007704/0.2855, allocations: 10.47 MB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.2857, allocations: 173.1 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.2857, allocations: 84.08 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2857, allocations: 75.28 kB / 1.047 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.2858, allocations: 117.8 kB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.2858, allocations: 0 / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.00012/0.2859, allocations: 84.95 kB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.286, allocations: 126.7 kB / 1.047 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.2869, allocations: 0.9127 MB / 1.048 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2869, allocations: 25.7 kB / 1.048 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.2874, allocations: 0.8432 MB / 1.049 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.2874, allocations: 11.98 kB / 1.049 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.2876, allocations: 275 kB / 1.049 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2878, allocations: 378.8 kB / 1.05 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.2879, allocations: 133.2 kB / 1.05 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.2884, allocations: 0.5834 MB / 1.05 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.289, allocations: 0.7806 MB / 1.051 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.2891, allocations: 7.938 kB / 1.051 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009299/0.29, allocations: 0.6962 MB / 1.052 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.29, allocations: 15.98 kB / 1.052 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.2901, allocations: 16 kB / 1.052 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.2901, allocations: 24 kB / 1.052 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2903, allocations: 95.66 kB / 1.052 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.2903, allocations: 31.86 kB / 1.052 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.2906, allocations: 87.56 kB / 1.052 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.2907, allocations: 40 kB / 1.052 GB, free: 6.336 MB / 0.8262 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.0007548/0.2914, allocations: 0.7497 MB / 1.053 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.2915, allocations: 164.2 kB / 1.053 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.2916, allocations: 165.3 kB / 1.053 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/0.2917, allocations: 184.2 kB / 1.053 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-05/0.2917, allocations: 184.3 kB / 1.054 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/0.2918, allocations: 180.2 kB / 1.054 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.2932, allocations: 1.612 MB / 1.055 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.2932, allocations: 101 kB / 1.055 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.2932, allocations: 104.9 kB / 1.055 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.2933, allocations: 176.3 kB / 1.056 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.2934, allocations: 184.3 kB / 1.056 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.2934, allocations: 184.2 kB / 1.056 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-05/0.2935, allocations: 180.2 kB / 1.056 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.2937, allocations: 359 kB / 1.056 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.2938, allocations: 229.4 kB / 1.057 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.2939, allocations: 180.2 kB / 1.057 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.294, allocations: 101 kB / 1.057 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.294, allocations: 180.5 kB / 1.057 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.2941, allocations: 105 kB / 1.057 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004962/0.2946, allocations: 0.4951 MB / 1.058 GB, free: 364 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2946, allocations: 4 kB / 1.058 GB, free: 360 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007413/0.2953, allocations: 329.3 kB / 1.058 GB, free: 28 kB / 0.8262 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.0001234/0.2955, allocations: 176.6 kB / 1.058 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.2958, allocations: 295.8 kB / 1.058 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2958, allocations: 0 / 1.058 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.2959, allocations: 4 kB / 1.058 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.2963, allocations: 0.5025 MB / 1.059 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.2991, allocations: 2.307 MB / 1.061 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/0.3001, allocations: 1.395 MB / 1.063 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.3006, allocations: 292.5 kB / 1.063 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3006, allocations: 35.44 kB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of SimCode: time 1.763e-06/0.3006, allocations: 4 kB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.008451/0.3091, allocations: 2.565 MB / 1.065 GB, free: 8.43 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches