Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_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.007586/0.007586, allocations: 98.7 kB / 15.73 MB, free: 6.039 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.00222/0.00222, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 68.11 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002135/0.2548, allocations: 1.204 MB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.2552, allocations: 239.8 kB / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.2553, allocations: 7.938 kB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2555, allocations: 111.3 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2557, allocations: 67.78 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.2559, allocations: 79.91 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.2566, allocations: 0.7337 MB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.2584, allocations: 1.965 MB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.2589, allocations: 0.5494 MB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.2595, allocations: 0.6854 MB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.2597, allocations: 120 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2599, allocations: 120 kB / 1.248 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.2604, allocations: 0.721 MB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.2611, allocations: 0.8198 MB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4593/0.7205, allocations: 2.506 MB / 1.252 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7205, allocations: 0.7812 kB / 1.252 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7205, allocations: 0.6562 kB / 1.252 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.531e-05/0.7206, allocations: 0.8438 kB / 1.252 GB, free: 11.32 MB / 0.9981 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.001826/0.7224, allocations: 1.911 MB / 1.253 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7225, allocations: 10.5 kB / 1.253 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.7227, allocations: 316.2 kB / 1.254 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.723, allocations: 203.3 kB / 1.254 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.7241, allocations: 0.9537 MB / 1.255 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.7242, allocations: 152.8 kB / 1.255 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.7244, allocations: 197 kB / 1.255 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.7274, allocations: 2.8 MB / 1.258 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.7275, allocations: 16.59 kB / 1.258 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.7276, allocations: 91.16 kB / 1.258 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.7277, allocations: 56.97 kB / 1.258 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.7296, allocations: 1.64 MB / 1.26 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.7347, allocations: 10.5 MB / 1.27 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.7348, allocations: 178.7 kB / 1.27 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.7349, allocations: 83.86 kB / 1.27 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.7349, allocations: 78.47 kB / 1.27 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.7349, allocations: 113.4 kB / 1.27 GB, free: 15.83 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7349, allocations: 0 / 1.27 GB, free: 15.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.564e-05/0.735, allocations: 79.89 kB / 1.27 GB, free: 15.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7351, allocations: 128.8 kB / 1.271 GB, free: 15.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.7358, allocations: 0.9262 MB / 1.271 GB, free: 15.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-06/0.7358, allocations: 25.7 kB / 1.271 GB, free: 15.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.7361, allocations: 0.8757 MB / 1.272 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.7361, allocations: 12.83 kB / 1.272 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.7364, allocations: 274.5 kB / 1.273 GB, free: 14.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7365, allocations: 374.2 kB / 1.273 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.7367, allocations: 134.8 kB / 1.273 GB, free: 14.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.7372, allocations: 0.5862 MB / 1.274 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.7378, allocations: 0.771 MB / 1.274 GB, free: 12.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7378, allocations: 8.719 kB / 1.274 GB, free: 12.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008161/0.7387, allocations: 0.7059 MB / 1.275 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7387, allocations: 10.75 kB / 1.275 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7387, allocations: 16.41 kB / 1.275 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.7387, allocations: 22.09 kB / 1.275 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.7389, allocations: 85.89 kB / 1.275 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.7389, allocations: 33.3 kB / 1.275 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.7392, allocations: 92.58 kB / 1.275 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.7392, allocations: 41.78 kB / 1.275 GB, free: 12.29 MB / 1.014 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.0006946/0.7399, allocations: 0.7585 MB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.74, allocations: 161.5 kB / 1.276 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.7402, allocations: 172 kB / 1.276 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/0.7402, allocations: 177.4 kB / 1.277 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-05/0.7403, allocations: 184.7 kB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/0.7404, allocations: 185.8 kB / 1.277 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.7418, allocations: 1.605 MB / 1.279 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/0.7418, allocations: 106.3 kB / 1.279 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.7418, allocations: 102.4 kB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.464e-05/0.7419, allocations: 178.3 kB / 1.279 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.742, allocations: 188.5 kB / 1.279 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-05/0.7421, allocations: 181.7 kB / 1.279 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.419e-05/0.7421, allocations: 182 kB / 1.279 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.7423, allocations: 363.3 kB / 1.28 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.7424, allocations: 226.5 kB / 1.28 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.7425, allocations: 183.2 kB / 1.28 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.7426, allocations: 114.1 kB / 1.28 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.7427, allocations: 178.3 kB / 1.28 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.7428, allocations: 106.2 kB / 1.281 GB, free: 8.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005932/0.7434, allocations: 0.4957 MB / 1.281 GB, free: 8.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7434, allocations: 0 / 1.281 GB, free: 8.094 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000691/0.7441, allocations: 332.3 kB / 1.281 GB, free: 7.949 MB / 1.014 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.0004194/0.7445, allocations: 0.8674 MB / 1.282 GB, free: 7.102 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.7448, allocations: 294.6 kB / 1.282 GB, free: 7.016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7449, allocations: 1.75 kB / 1.282 GB, free: 7.016 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.7449, allocations: 4 kB / 1.283 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.7453, allocations: 0.4889 MB / 1.283 GB, free: 6.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.7519, allocations: 6.868 MB / 1.29 GB, free: 2.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.7529, allocations: 1.395 MB / 1.291 GB, free: 1.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.7533, allocations: 297 kB / 1.291 GB, free: 1.559 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.7538, allocations: 0.5065 MB / 1.292 GB, free: 1.121 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/0.7538, allocations: 0 / 1.292 GB, free: 1.121 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/1.995, allocations: 12.61 MB / 1.304 GB, free: 15.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.55, allocations: 5.797 kB / 1.304 GB, free: 15.89 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches