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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009047/0.009047, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001953/0.001953, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.13/2.13, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9405/0.9425, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002334/0.9449, allocations: 1.205 MB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.9453, allocations: 242.2 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.9455, allocations: 10.59 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.9457, allocations: 108.8 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.9459, allocations: 70.98 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.946, allocations: 80.88 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.9468, allocations: 0.7337 MB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.9491, allocations: 1.955 MB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.9498, allocations: 0.5542 MB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.9505, allocations: 0.686 MB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.9507, allocations: 117 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.951, allocations: 115.8 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.9516, allocations: 0.7187 MB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/0.9522, allocations: 0.8291 MB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.9546, allocations: 2.552 MB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9547, allocations: 1.406 kB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9547, allocations: 0 / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.9547, allocations: 0 / 1.097 GB, free: 0.8516 MB / 0.8575 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.002253/0.957, allocations: 1.874 MB / 1.099 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.957, allocations: 9.344 kB / 1.099 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004162/0.9574, allocations: 319.5 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.9578, allocations: 194.9 kB / 1.1 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.9596, allocations: 0.9518 MB / 1.1 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/0.9597, allocations: 156.2 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.9599, allocations: 195.2 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/0.9635, allocations: 2.807 MB / 1.104 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.9636, allocations: 16 kB / 1.104 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.9637, allocations: 88.89 kB / 1.104 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.9638, allocations: 55.97 kB / 1.104 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.9659, allocations: 1.639 MB / 1.105 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008119/0.9741, allocations: 10.47 MB / 1.116 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.9741, allocations: 170.1 kB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.9742, allocations: 84.84 kB / 1.116 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.9742, allocations: 79.22 kB / 1.116 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.9743, allocations: 108.5 kB / 1.116 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.9743, allocations: 0 / 1.116 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.9744, allocations: 77 kB / 1.116 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.9745, allocations: 127.9 kB / 1.116 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.9754, allocations: 0.9187 MB / 1.117 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.9754, allocations: 29.7 kB / 1.117 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.9759, allocations: 0.8438 MB / 1.118 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.9759, allocations: 11.17 kB / 1.118 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.9762, allocations: 272.4 kB / 1.118 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9763, allocations: 373.3 kB / 1.119 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.9765, allocations: 134 kB / 1.119 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.9769, allocations: 0.5932 MB / 1.119 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.9776, allocations: 0.7704 MB / 1.12 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.9776, allocations: 4.562 kB / 1.12 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008885/0.9785, allocations: 0.7001 MB / 1.121 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9785, allocations: 16.81 kB / 1.121 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.9785, allocations: 20.66 kB / 1.121 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.9785, allocations: 25.84 kB / 1.121 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.9788, allocations: 84.77 kB / 1.121 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/0.9788, allocations: 32.22 kB / 1.121 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.9791, allocations: 82.14 kB / 1.121 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.9791, allocations: 39.69 kB / 1.121 GB, free: 0.6797 MB / 0.8731 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.00102/0.9802, allocations: 0.7643 MB / 1.122 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.9803, allocations: 156.4 kB / 1.122 GB, free: 200 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.9804, allocations: 168.4 kB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.891e-05/0.9805, allocations: 181.5 kB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.215e-05/0.9806, allocations: 178.2 kB / 1.122 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/0.9806, allocations: 186.4 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.9827, allocations: 1.61 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.453e-05/0.9828, allocations: 103.1 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.9828, allocations: 105.4 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.9829, allocations: 182.4 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.983, allocations: 186 kB / 1.125 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-05/0.9831, allocations: 178 kB / 1.125 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.665e-05/0.9831, allocations: 181.8 kB / 1.125 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.9833, allocations: 358.5 kB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.9835, allocations: 230.9 kB / 1.126 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.9836, allocations: 179.8 kB / 1.126 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9837, allocations: 105.8 kB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.9838, allocations: 182 kB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.9838, allocations: 102.7 kB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005464/0.9844, allocations: 0.499 MB / 1.127 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9844, allocations: 1.25 kB / 1.127 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000958/0.9853, allocations: 326.6 kB / 1.127 GB, free: 12.35 MB / 0.8887 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.0005358/0.9859, allocations: 0.8688 MB / 1.128 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.9864, allocations: 295.4 kB / 1.128 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9864, allocations: 0.875 kB / 1.128 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/0.9864, allocations: 4 kB / 1.128 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.9871, allocations: 499.8 kB / 1.129 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/0.9957, allocations: 6.82 MB / 1.135 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.997, allocations: 1.399 MB / 1.137 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005618/0.9975, allocations: 292 kB / 1.137 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.9981, allocations: 0.5164 MB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of SimCode: time 9.62e-07/0.9981, allocations: 0 / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/1.051, allocations: 12.66 MB / 1.15 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.66, allocations: 5.781 kB / 1.15 GB, free: 2.938 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > 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