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.005086/0.005086, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001026/0.001026, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.17/1.17, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.019/2.019, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7887, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002195/0.7909, allocations: 1.209 MB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.7914, allocations: 242.7 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.7915, allocations: 10.78 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.7917, allocations: 106.9 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.7919, allocations: 70.41 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.7921, allocations: 76.7 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.7927, allocations: 0.7392 MB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.7946, allocations: 1.959 MB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.7952, allocations: 0.5481 MB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007851/0.796, allocations: 0.6907 MB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.7962, allocations: 115.3 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.7965, allocations: 116.4 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007511/0.7972, allocations: 0.7201 MB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.798, allocations: 0.8206 MB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.8003, allocations: 2.556 MB / 1.097 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8003, allocations: 5.922 kB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8003, allocations: 0 / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.8004, allocations: 0 / 1.097 GB, free: 0.8398 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.003088/0.8035, allocations: 1.868 MB / 1.099 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.8036, allocations: 9.875 kB / 1.099 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005466/0.8041, allocations: 315.4 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.8045, allocations: 195.3 kB / 1.1 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.8064, allocations: 0.9514 MB / 1.1 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8065, allocations: 151.2 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.8068, allocations: 200.1 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004441/0.8112, allocations: 2.806 MB / 1.104 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.8113, allocations: 17.34 kB / 1.104 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.8115, allocations: 87.22 kB / 1.104 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/0.8115, allocations: 56.67 kB / 1.104 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.8142, allocations: 1.638 MB / 1.105 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009171/0.8234, allocations: 10.47 MB / 1.116 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.8235, allocations: 178.5 kB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.8235, allocations: 80.94 kB / 1.116 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.8236, allocations: 75.28 kB / 1.116 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.8236, allocations: 111.2 kB / 1.116 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.8236, allocations: 0 / 1.116 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001463/0.8238, allocations: 77.88 kB / 1.116 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.8238, allocations: 135.2 kB / 1.116 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.825, allocations: 0.9152 MB / 1.117 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.825, allocations: 25.7 kB / 1.117 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.8256, allocations: 0.8471 MB / 1.118 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.8257, allocations: 12.05 kB / 1.118 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.826, allocations: 272.3 kB / 1.118 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8262, allocations: 373.5 kB / 1.119 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.8264, allocations: 133.7 kB / 1.119 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.8269, allocations: 0.5938 MB / 1.119 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.8277, allocations: 0.7735 MB / 1.12 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.8277, allocations: 5.406 kB / 1.12 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001073/0.8288, allocations: 0.6954 MB / 1.121 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.8288, allocations: 16.41 kB / 1.121 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.8288, allocations: 17.36 kB / 1.121 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.8289, allocations: 21.72 kB / 1.121 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.8291, allocations: 93.02 kB / 1.121 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/0.8292, allocations: 37.22 kB / 1.121 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.8295, allocations: 81.28 kB / 1.121 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.8295, allocations: 38.88 kB / 1.121 GB, free: 0.6758 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.001092/0.8306, allocations: 0.7611 MB / 1.122 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.8308, allocations: 160.1 kB / 1.122 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.8309, allocations: 168.4 kB / 1.122 GB, free: 64 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.917e-05/0.831, allocations: 181.9 kB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.016e-05/0.8311, allocations: 178.4 kB / 1.122 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-05/0.8312, allocations: 184.9 kB / 1.123 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.8333, allocations: 1.608 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.8333, allocations: 102.7 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.8334, allocations: 105.7 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-05/0.8334, allocations: 178.2 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.8335, allocations: 190 kB / 1.125 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.321e-05/0.8335, allocations: 186.2 kB / 1.125 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-05/0.8336, allocations: 178.1 kB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.8338, allocations: 359.5 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.8339, allocations: 226.6 kB / 1.126 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.834, allocations: 182.4 kB / 1.126 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.8341, allocations: 101.7 kB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.8341, allocations: 182.4 kB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.8342, allocations: 103.1 kB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005939/0.8348, allocations: 0.4998 MB / 1.127 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8348, allocations: 0 / 1.127 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001002/0.8358, allocations: 327.3 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.000509/0.8363, allocations: 0.8721 MB / 1.128 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.8367, allocations: 295.2 kB / 1.128 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8367, allocations: 5.531 kB / 1.128 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.8368, allocations: 0 / 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.0005024/0.8373, allocations: 496.2 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.007859/0.8451, 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.001384/0.8466, allocations: 1.398 MB / 1.137 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005894/0.8472, allocations: 295.5 kB / 1.137 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.8477, allocations: 0.5125 MB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of SimCode: time 8.61e-07/0.8477, allocations: 0 / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/0.899, allocations: 12.63 MB / 1.15 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.761/10.66, allocations: 5.594 kB / 1.15 GB, free: 2.891 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