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.001537/0.001537, allocations: 105 kB / 16.35 MB, free: 5.824 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.001489/0.001489, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.14 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.391/2.391, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.64 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3557, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.00294/0.3587, allocations: 1.205 MB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.3594, allocations: 239.8 kB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3595, allocations: 11.88 kB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3598, allocations: 111.3 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.36, allocations: 75.72 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.3601, allocations: 79.91 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007144/0.3609, allocations: 0.7338 MB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3628, allocations: 1.954 MB / 0.9554 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.3635, allocations: 0.5494 MB / 0.956 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.3641, allocations: 0.6854 MB / 0.9567 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.3643, allocations: 120 kB / 0.9568 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3645, allocations: 116 kB / 0.9569 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.3651, allocations: 0.7249 MB / 0.9576 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007542/0.3658, allocations: 0.8276 MB / 0.9584 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.3677, allocations: 2.557 MB / 0.9609 GB, free: 14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3678, allocations: 3.938 kB / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3678, allocations: 0 / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.557e-05/0.3678, allocations: 0 / 0.9609 GB, free: 13.99 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.002113/0.3699, allocations: 1.866 MB / 0.9627 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.37, allocations: 8.031 kB / 0.9627 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.3703, allocations: 198.5 kB / 0.9629 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.372, allocations: 0.9494 MB / 0.9638 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3721, allocations: 156.5 kB / 0.964 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.3724, allocations: 196.4 kB / 0.9642 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.3758, allocations: 2.806 MB / 0.9669 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.3759, allocations: 12.06 kB / 0.9669 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.3761, allocations: 91.94 kB / 0.967 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.3761, allocations: 56 kB / 0.9671 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.3784, allocations: 1.635 MB / 0.9687 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008359/0.3867, allocations: 10.46 MB / 0.9789 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3869, allocations: 177.1 kB / 0.9791 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.387, allocations: 84.08 kB / 0.9791 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.387, allocations: 75.28 kB / 0.9792 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3871, allocations: 109.8 kB / 0.9793 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.3871, allocations: 0 / 0.9793 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001503/0.3872, allocations: 80.95 kB / 0.9794 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.3873, allocations: 134.6 kB / 0.9795 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.3882, allocations: 0.9166 MB / 0.9804 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3883, allocations: 25.7 kB / 0.9804 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.3888, allocations: 0.8432 MB / 0.9813 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.3888, allocations: 15.98 kB / 0.9813 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.3891, allocations: 271 kB / 0.9815 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3893, allocations: 374.8 kB / 0.9819 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3894, allocations: 137.2 kB / 0.982 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.3899, allocations: 0.5834 MB / 0.9826 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.3906, allocations: 0.7844 MB / 0.9834 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3906, allocations: 4 kB / 0.9834 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009102/0.3916, allocations: 0.7003 MB / 0.984 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3916, allocations: 14.03 kB / 0.9841 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.3916, allocations: 20 kB / 0.9841 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.3917, allocations: 20 kB / 0.9841 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3919, allocations: 87.77 kB / 0.9842 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.3919, allocations: 31.86 kB / 0.9842 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.3922, allocations: 87.06 kB / 0.9843 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.3922, allocations: 40.36 kB / 0.9843 GB, free: 4.684 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.0008459/0.3931, allocations: 0.7626 MB / 0.9851 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3932, allocations: 160.2 kB / 0.9852 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3933, allocations: 173.2 kB / 0.9854 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/0.3934, allocations: 180.3 kB / 0.9856 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.702e-05/0.3935, allocations: 180.2 kB / 0.9857 GB, free: 3.203 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/0.3935, allocations: 180.3 kB / 0.9859 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3951, allocations: 1.605 MB / 0.9875 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/0.3951, allocations: 104.9 kB / 0.9876 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3952, allocations: 105 kB / 0.9877 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-05/0.3952, allocations: 184.2 kB / 0.9879 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.3953, allocations: 184.3 kB / 0.988 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-05/0.3954, allocations: 176.3 kB / 0.9882 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-05/0.3954, allocations: 180.2 kB / 0.9884 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3956, allocations: 363 kB / 0.9887 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3957, allocations: 221.4 kB / 0.9889 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.3958, allocations: 184.3 kB / 0.9891 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.3959, allocations: 108.9 kB / 0.9892 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.396, allocations: 180.3 kB / 0.9894 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.396, allocations: 109.2 kB / 0.9895 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005156/0.3966, allocations: 0.4951 MB / 0.99 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3966, allocations: 3.938 kB / 0.99 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008733/0.3974, allocations: 329.3 kB / 0.9903 GB, free: 14.36 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.0001723/0.3976, allocations: 174.5 kB / 0.9904 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.398, allocations: 295.2 kB / 0.9907 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.398, allocations: 0 / 0.9907 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3981, allocations: 0.6875 kB / 0.9907 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.3988, allocations: 0.4947 MB / 0.9912 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.4022, allocations: 2.311 MB / 0.9935 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.4035, allocations: 1.407 MB / 0.9948 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004722/0.4039, allocations: 292.5 kB / 0.9951 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.404, allocations: 35.44 kB / 0.9952 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.404, allocations: 0 / 0.9952 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.009393/0.4134, allocations: 2.567 MB / 0.9977 GB, free: 6.754 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 gbode -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