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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002007/0.002008, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.621/2.621, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8505, allocations: 140.4 MB / 0.9489 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002628/0.8532, allocations: 1.254 MB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.8537, allocations: 227.7 kB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.8538, allocations: 12 kB / 0.9504 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.854, allocations: 102.4 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.8542, allocations: 62.98 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.8544, allocations: 76.44 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.8551, allocations: 0.7623 MB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.8571, allocations: 1.915 MB / 0.9532 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.8577, allocations: 458.2 kB / 0.9537 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.8585, allocations: 0.6864 MB / 0.9544 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.8587, allocations: 73.75 kB / 0.9544 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.8589, allocations: 72.84 kB / 0.9545 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005808/0.8595, allocations: 0.6725 MB / 0.9551 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007843/0.8603, allocations: 0.7433 MB / 0.9559 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.8624, allocations: 2.373 MB / 0.9582 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8624, allocations: 4 kB / 0.9582 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8624, allocations: 0 / 0.9582 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.857e-05/0.8625, allocations: 0 / 0.9582 GB, free: 3.379 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.002738/0.8653, allocations: 1.868 MB / 0.96 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8653, allocations: 10.06 kB / 0.96 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.8657, allocations: 197.9 kB / 0.9602 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.8671, allocations: 0.9474 MB / 0.9611 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.8673, allocations: 150.8 kB / 0.9613 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.8676, allocations: 196.2 kB / 0.9615 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.8718, allocations: 2.804 MB / 0.9642 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.8719, allocations: 13.59 kB / 0.9642 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.8721, allocations: 95.31 kB / 0.9643 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.8722, allocations: 57.22 kB / 0.9644 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.875, allocations: 1.638 MB / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.8864, allocations: 10.48 MB / 0.9762 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.8865, allocations: 170.3 kB / 0.9764 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.8866, allocations: 85.14 kB / 0.9764 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.8866, allocations: 79.22 kB / 0.9765 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.8867, allocations: 111 kB / 0.9766 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.8867, allocations: 0 / 0.9766 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002026/0.8869, allocations: 79.42 kB / 0.9767 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.887, allocations: 130.7 kB / 0.9768 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.8881, allocations: 0.9165 MB / 0.9777 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.8882, allocations: 25.7 kB / 0.9777 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/0.8888, allocations: 0.8433 MB / 0.9786 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.8888, allocations: 15.98 kB / 0.9786 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.8892, allocations: 275 kB / 0.9788 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8893, allocations: 374.8 kB / 0.9792 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.8895, allocations: 133.2 kB / 0.9793 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.89, allocations: 0.5834 MB / 0.9799 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.8908, allocations: 0.7767 MB / 0.9807 GB, free: 340 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.8908, allocations: 8 kB / 0.9807 GB, free: 332 kB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001022/0.8918, allocations: 0.7005 MB / 0.9814 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.8919, allocations: 15.94 kB / 0.9814 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.8919, allocations: 23.98 kB / 0.9814 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.8919, allocations: 20 kB / 0.9814 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.8921, allocations: 83.78 kB / 0.9815 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.8922, allocations: 31.86 kB / 0.9815 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.8925, allocations: 87.12 kB / 0.9816 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.8926, allocations: 39.94 kB / 0.9816 GB, free: 15.32 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.001217/0.8938, allocations: 0.7608 MB / 0.9824 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8939, allocations: 164.2 kB / 0.9825 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.894, allocations: 169.1 kB / 0.9827 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.07e-05/0.8941, allocations: 184.2 kB / 0.9829 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.095e-05/0.8942, allocations: 176.3 kB / 0.983 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.8942, allocations: 192.2 kB / 0.9832 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.8961, allocations: 1.605 MB / 0.9848 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/0.8961, allocations: 105 kB / 0.9849 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.8962, allocations: 104.9 kB / 0.985 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.341e-05/0.8963, allocations: 176.3 kB / 0.9852 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.8963, allocations: 184.2 kB / 0.9853 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.587e-05/0.8964, allocations: 180.3 kB / 0.9855 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.583e-05/0.8965, allocations: 180.2 kB / 0.9857 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.8967, allocations: 359 kB / 0.986 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8968, allocations: 225.6 kB / 0.9862 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.8969, allocations: 184.2 kB / 0.9864 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8971, allocations: 113 kB / 0.9865 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.8971, allocations: 180.2 kB / 0.9867 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.8972, allocations: 105 kB / 0.9868 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005555/0.8977, allocations: 0.4951 MB / 0.9873 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8978, allocations: 0 / 0.9873 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001138/0.8989, allocations: 329.3 kB / 0.9876 GB, free: 8.992 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.0001902/0.8991, allocations: 182.5 kB / 0.9878 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.8996, allocations: 285.9 kB / 0.988 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8996, allocations: 2 kB / 0.988 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-06/0.8996, allocations: 3.938 kB / 0.988 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.9003, allocations: 0.5683 MB / 0.9886 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.9047, allocations: 2.973 MB / 0.9915 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.9058, allocations: 1.392 MB / 0.9929 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.9064, allocations: 296.5 kB / 0.9931 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.9064, allocations: 31.44 kB / 0.9932 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.9064, allocations: 4 kB / 0.9932 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of Templates: time 0.009345/0.9158, allocations: 2.492 MB / 0.9956 GB, free: 0.7305 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