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.007769/0.007769, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001744/0.001744, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.294/2.294, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 58.91 kB / 0.9504 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002151/0.2149, allocations: 1.204 MB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.2153, allocations: 235.8 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.2154, allocations: 15.88 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2157, allocations: 111.3 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2158, allocations: 71.72 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.216, allocations: 75.92 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.2166, allocations: 0.7337 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.2182, allocations: 1.958 MB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.2186, allocations: 0.5533 MB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.2191, allocations: 0.6893 MB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2193, allocations: 116 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.2194, allocations: 119.9 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.2199, allocations: 0.7211 MB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.2206, allocations: 0.8198 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.2222, allocations: 2.569 MB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2222, allocations: 0 / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2222, allocations: 0 / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.2222, allocations: 0 / 1.097 GB, free: 8.094 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.001691/0.2239, allocations: 1.866 MB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2239, allocations: 8.031 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.2242, allocations: 315.5 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.2245, allocations: 194.6 kB / 1.1 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.226, allocations: 0.9532 MB / 1.1 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.2261, allocations: 152.5 kB / 1.101 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.2264, allocations: 192.4 kB / 1.101 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/0.2295, allocations: 2.81 MB / 1.104 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.2295, allocations: 15.81 kB / 1.104 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.2297, allocations: 92 kB / 1.104 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.2297, allocations: 59.94 kB / 1.104 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.2318, allocations: 1.635 MB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006624/0.2384, allocations: 10.46 MB / 1.116 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.2385, allocations: 173.1 kB / 1.116 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.2386, allocations: 88.12 kB / 1.116 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2386, allocations: 79.27 kB / 1.116 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2386, allocations: 113.8 kB / 1.116 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.2386, allocations: 0 / 1.116 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.2387, allocations: 81.08 kB / 1.116 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2388, allocations: 126.7 kB / 1.116 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.2396, allocations: 0.9165 MB / 1.117 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.2396, allocations: 29.7 kB / 1.117 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.24, allocations: 0.8431 MB / 1.118 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.24, allocations: 11.98 kB / 1.118 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.2402, allocations: 275 kB / 1.118 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2404, allocations: 374.8 kB / 1.119 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2405, allocations: 133.2 kB / 1.119 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.2409, allocations: 0.5912 MB / 1.119 GB, free: 488 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.2415, allocations: 0.765 MB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.2415, allocations: 7.984 kB / 1.12 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008309/0.2424, allocations: 0.7006 MB / 1.121 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2424, allocations: 16.03 kB / 1.121 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2424, allocations: 16 kB / 1.121 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.2425, allocations: 20 kB / 1.121 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2427, allocations: 91.7 kB / 1.121 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.2427, allocations: 35.8 kB / 1.121 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.243, allocations: 91.06 kB / 1.121 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.243, allocations: 40 kB / 1.121 GB, free: 14.46 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.000682/0.2437, allocations: 0.749 MB / 1.122 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.2438, allocations: 160.3 kB / 1.122 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.2439, allocations: 173.3 kB / 1.122 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.845e-05/0.2439, allocations: 184.2 kB / 1.122 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-05/0.244, allocations: 176.3 kB / 1.122 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/0.244, allocations: 180.3 kB / 1.123 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.2453, allocations: 1.612 MB / 1.124 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.2454, allocations: 101 kB / 1.124 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.2454, allocations: 112.8 kB / 1.124 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.617e-05/0.2454, allocations: 180.3 kB / 1.124 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.2455, allocations: 176.3 kB / 1.125 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.434e-05/0.2455, allocations: 180.2 kB / 1.125 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.135e-05/0.2456, allocations: 180.3 kB / 1.125 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.2457, allocations: 363 kB / 1.125 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2458, allocations: 221.3 kB / 1.126 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.2459, allocations: 184.2 kB / 1.126 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.246, allocations: 113 kB / 1.126 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.2461, allocations: 180.2 kB / 1.126 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.2461, allocations: 105.3 kB / 1.126 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004549/0.2466, allocations: 0.4951 MB / 1.127 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2466, allocations: 0 / 1.127 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006895/0.2473, allocations: 337.2 kB / 1.127 GB, free: 8.141 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.0003379/0.2476, allocations: 0.8627 MB / 1.128 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.248, allocations: 299 kB / 1.128 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.248, allocations: 0.875 kB / 1.128 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.248, allocations: 4 kB / 1.128 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2484, allocations: 499.7 kB / 1.129 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.2545, allocations: 6.809 MB / 1.135 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.2555, allocations: 1.403 MB / 1.137 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004355/0.256, allocations: 292.5 kB / 1.137 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.2564, allocations: 0.5188 MB / 1.137 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.2565, allocations: 0 / 1.137 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5766/0.833, allocations: 12.62 MB / 1.15 GB, free: 460 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.344/10.18, allocations: 14.06 kB / 1.15 GB, free: 448 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