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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001233/0.001233, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001252/0.001252, allocations: 191 kB / 16.25 MB, free: 6.633 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.333/2.333, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 70.39 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.23, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003104/0.2332, allocations: 1.247 MB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.2338, allocations: 235.8 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2339, allocations: 11.88 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.2342, allocations: 99.42 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.2344, allocations: 67.78 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2346, allocations: 67.89 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.2356, allocations: 0.7924 MB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.2382, allocations: 1.961 MB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.2388, allocations: 0.5456 MB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008466/0.2397, allocations: 0.7283 MB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.2399, allocations: 116 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2402, allocations: 116 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.2409, allocations: 0.7133 MB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00092/0.2419, allocations: 0.8197 MB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.2442, allocations: 2.38 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2443, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2443, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.2443, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 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.002681/0.247, allocations: 1.87 MB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.247, allocations: 8.625 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004628/0.2475, allocations: 319.5 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.2479, allocations: 194.6 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.2498, allocations: 0.9493 MB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.25, allocations: 156.5 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2503, allocations: 200.4 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.2553, allocations: 2.798 MB / 1.068 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6e-05/0.2554, allocations: 19.81 kB / 1.068 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.2557, allocations: 88 kB / 1.069 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.2557, allocations: 56 kB / 1.069 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.2591, allocations: 1.639 MB / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009922/0.269, allocations: 10.47 MB / 1.08 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.2692, allocations: 177.1 kB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.2692, allocations: 80.14 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2692, allocations: 75.28 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.2693, allocations: 109.8 kB / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.2693, allocations: 4 kB / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001265/0.2694, allocations: 73.05 kB / 1.081 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.2695, allocations: 134.7 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/0.2704, allocations: 0.9127 MB / 1.082 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2705, allocations: 25.7 kB / 1.082 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.271, allocations: 0.847 MB / 1.083 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.271, allocations: 8 kB / 1.083 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.2713, allocations: 275 kB / 1.083 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2714, allocations: 370.8 kB / 1.083 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2716, allocations: 137.2 kB / 1.084 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.2721, allocations: 0.5912 MB / 1.084 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.2728, allocations: 0.7767 MB / 1.085 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.2728, allocations: 4 kB / 1.085 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009849/0.2738, allocations: 0.7081 MB / 1.086 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.2738, allocations: 13.88 kB / 1.086 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2739, allocations: 16 kB / 1.086 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.2739, allocations: 24 kB / 1.086 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.2741, allocations: 83.72 kB / 1.086 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/0.2742, allocations: 35.86 kB / 1.086 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.2745, allocations: 83.06 kB / 1.086 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.2745, allocations: 40 kB / 1.086 GB, free: 5.02 MB / 0.8419 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.0007806/0.2753, allocations: 0.7648 MB / 1.087 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2754, allocations: 160.3 kB / 1.087 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2755, allocations: 165.3 kB / 1.087 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/0.2756, allocations: 180.2 kB / 1.087 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/0.2757, allocations: 180.3 kB / 1.087 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.2757, allocations: 188.2 kB / 1.087 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.2772, allocations: 1.601 MB / 1.089 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/0.2772, allocations: 105.1 kB / 1.089 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.2772, allocations: 116.9 kB / 1.089 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/0.2773, allocations: 176.3 kB / 1.089 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.2773, allocations: 184.2 kB / 1.09 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.2774, allocations: 192.2 kB / 1.09 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.302e-05/0.2775, allocations: 176.3 kB / 1.09 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.2776, allocations: 355 kB / 1.09 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.2777, allocations: 225.3 kB / 1.09 GB, free: 104 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.2778, allocations: 188.2 kB / 1.091 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.2779, allocations: 101 kB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2779, allocations: 180.2 kB / 1.091 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.278, allocations: 101 kB / 1.091 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004409/0.2784, allocations: 0.5029 MB / 1.091 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2784, allocations: 0 / 1.091 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006185/0.279, allocations: 325.3 kB / 1.092 GB, free: 14.7 MB / 0.8575 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.000357/0.2794, allocations: 0.8666 MB / 1.093 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.2797, allocations: 291.6 kB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2797, allocations: 4.25 kB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.2798, allocations: 4 kB / 1.093 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2802, allocations: 494.6 kB / 1.093 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.2869, allocations: 7.541 MB / 1.101 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008662/0.2878, allocations: 1.399 MB / 1.102 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004208/0.2882, allocations: 296.5 kB / 1.102 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.2886, allocations: 0.5071 MB / 1.103 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2886, allocations: 0 / 1.103 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.171/2.46, allocations: 12.28 MB / 1.115 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.46, allocations: 238.9 kB / 1.115 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/5.661, allocations: 0 / 1.115 GB, free: 6.355 MB / 0.8731 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=50 --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