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.01001/0.01001, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.002249/0.002249, allocations: 195 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.421/2.421, allocations: 222.9 MB / 240.4 MB, free: 4.293 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 4.306/4.306, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002189, allocations: 67.3 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4861, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.004318/0.4905, allocations: 1.201 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4916, allocations: 239.8 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.4921, allocations: 11.94 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.4927, allocations: 119.2 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.4932, allocations: 67.75 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.4935, allocations: 79.89 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.4948, allocations: 0.7376 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.4984, allocations: 1.95 MB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.4994, allocations: 0.5533 MB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.5007, allocations: 0.6932 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.501, allocations: 116 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.5013, allocations: 116 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009048/0.5023, allocations: 0.725 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.5035, allocations: 0.8314 MB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.5067, allocations: 2.556 MB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.5068, allocations: 4 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5068, allocations: 0 / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.304e-05/0.5069, allocations: 3.984 kB / 1.097 GB, free: 7.914 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.003674/0.5106, allocations: 1.908 MB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/0.5106, allocations: 12.03 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005727/0.5112, allocations: 319.5 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/0.5118, allocations: 207.6 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.5145, allocations: 0.9537 MB / 1.101 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.5147, allocations: 148.5 kB / 1.101 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.5151, allocations: 200.4 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006377/0.5215, allocations: 2.81 MB / 1.104 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.426e-05/0.5216, allocations: 11.88 kB / 1.104 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.5219, allocations: 88 kB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.571e-05/0.522, allocations: 56 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.5261, allocations: 1.646 MB / 1.105 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.5403, allocations: 10.49 MB / 1.116 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.5405, allocations: 177 kB / 1.116 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.5405, allocations: 84.14 kB / 1.116 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.5406, allocations: 75.28 kB / 1.116 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/0.5407, allocations: 109.8 kB / 1.116 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.5407, allocations: 4 kB / 1.116 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002319/0.5409, allocations: 89.34 kB / 1.116 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.541, allocations: 126.7 kB / 1.116 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5426, allocations: 0.9133 MB / 1.117 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5426, allocations: 25.7 kB / 1.117 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008975/0.5435, allocations: 0.8816 MB / 1.118 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.5436, allocations: 19.98 kB / 1.118 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/0.5441, allocations: 267.2 kB / 1.118 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002353/0.5443, allocations: 382.8 kB / 1.119 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.5446, allocations: 133.2 kB / 1.119 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.5454, allocations: 0.5834 MB / 1.119 GB, free: 176 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5465, allocations: 0.7728 MB / 1.12 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.5466, allocations: 4 kB / 1.12 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.5482, allocations: 0.7004 MB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.5483, allocations: 12 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.5483, allocations: 20 kB / 1.121 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/0.5484, allocations: 20 kB / 1.121 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.5488, allocations: 87.77 kB / 1.121 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.244e-05/0.5488, allocations: 32.42 kB / 1.121 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.5495, allocations: 91.41 kB / 1.121 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.5496, allocations: 36 kB / 1.121 GB, free: 14.16 MB / 0.8887 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.001731/0.5514, allocations: 0.7606 MB / 1.122 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.5516, allocations: 160.5 kB / 1.122 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.5517, allocations: 177.2 kB / 1.122 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.071e-05/0.5519, allocations: 188.3 kB / 1.122 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.986e-05/0.5519, allocations: 180.3 kB / 1.123 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.649e-05/0.552, allocations: 180.2 kB / 1.123 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.5551, allocations: 1.605 MB / 1.124 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.8e-05/0.5552, allocations: 104.9 kB / 1.124 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.5552, allocations: 101 kB / 1.124 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.5554, allocations: 184.2 kB / 1.125 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.5555, allocations: 184.2 kB / 1.125 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001079/0.5556, allocations: 180.3 kB / 1.125 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-05/0.5557, allocations: 180.2 kB / 1.125 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.556, allocations: 363.4 kB / 1.125 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.5562, allocations: 229.7 kB / 1.126 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5564, allocations: 176.3 kB / 1.126 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5566, allocations: 108.9 kB / 1.126 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.5567, allocations: 188.2 kB / 1.126 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.5567, allocations: 105.3 kB / 1.126 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008517/0.5576, allocations: 0.4989 MB / 1.127 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5576, allocations: 4 kB / 1.127 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00164/0.5593, allocations: 338.1 kB / 1.127 GB, free: 7.812 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.000692/0.56, allocations: 0.8631 MB / 1.128 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007223/0.5607, allocations: 299.1 kB / 1.128 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5607, allocations: 0 / 1.128 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.5607, allocations: 0 / 1.128 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.5616, allocations: 0.4922 MB / 1.129 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.577, allocations: 6.862 MB / 1.135 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.5792, allocations: 1.399 MB / 1.137 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009437/0.5801, allocations: 292.5 kB / 1.137 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000915/0.5811, allocations: 0.5149 MB / 1.138 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of SimCode: time 1.543e-06/0.5811, allocations: 0 / 1.138 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05645/0.6375, allocations: 12.61 MB / 1.15 GB, free: 80 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.84, allocations: 23.62 kB / 1.15 GB, free: 60 kB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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