Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_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_9_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.0007959/0.0007957, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008228/0.0008228, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8116, allocations: 142.3 MB / 0.9539 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001257/0.8129, allocations: 0.8472 MB / 0.9547 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.8134, allocations: 224.1 kB / 0.9549 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.8135, allocations: 14.94 kB / 0.9549 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.8137, allocations: 91.06 kB / 0.955 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.8139, allocations: 68.5 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.814, allocations: 57.09 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.8149, allocations: 0.8062 MB / 0.9559 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.8162, allocations: 1.475 MB / 0.9574 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.8165, allocations: 176.2 kB / 0.9575 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.8166, allocations: 199.6 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.8166, allocations: 12.38 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.8167, allocations: 12.38 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.8172, allocations: 0.5192 MB / 0.9583 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.8174, allocations: 262.3 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.8192, allocations: 1.929 MB / 0.9604 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8192, allocations: 0 / 0.9604 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8192, allocations: 1.031 kB / 0.9604 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.27e-05/0.8193, allocations: 0 / 0.9604 GB, free: 4.195 MB / 0.7169 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.002138/0.8214, allocations: 1.482 MB / 0.9618 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8215, allocations: 8.875 kB / 0.9618 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004293/0.8219, allocations: 316.8 kB / 0.9621 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.8222, allocations: 197.5 kB / 0.9623 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.8235, allocations: 0.9353 MB / 0.9632 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.8236, allocations: 150.4 kB / 0.9634 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.8239, allocations: 195.5 kB / 0.9636 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/0.8278, allocations: 2.788 MB / 0.9663 GB, free: 68 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.8279, allocations: 17.45 kB / 0.9663 GB, free: 56 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.8281, allocations: 95.41 kB / 0.9664 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.8281, allocations: 59.84 kB / 0.9665 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.8309, allocations: 1.619 MB / 0.968 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009849/0.8408, allocations: 10.47 MB / 0.9783 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.8409, allocations: 165.1 kB / 0.9784 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.841, allocations: 85.58 kB / 0.9785 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.8411, allocations: 79.27 kB / 0.9786 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.8411, allocations: 113.8 kB / 0.9787 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.8411, allocations: 1.375 kB / 0.9787 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001537/0.8413, allocations: 80.23 kB / 0.9788 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.8414, allocations: 126.7 kB / 0.9789 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.8424, allocations: 0.9099 MB / 0.9798 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.8424, allocations: 29.7 kB / 0.9798 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/0.8429, allocations: 0.843 MB / 0.9806 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.843, allocations: 11.98 kB / 0.9806 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/0.843, allocations: 16 kB / 0.9807 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.8432, allocations: 370.8 kB / 0.981 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.8434, allocations: 133.2 kB / 0.9811 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.8439, allocations: 0.5834 MB / 0.9817 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.8442, allocations: 275.6 kB / 0.982 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.8442, allocations: 8 kB / 0.982 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001035/0.8453, allocations: 0.6967 MB / 0.9827 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.8453, allocations: 12 kB / 0.9827 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.8453, allocations: 19.94 kB / 0.9827 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.462e-05/0.8454, allocations: 28.06 kB / 0.9827 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.8456, allocations: 83.77 kB / 0.9828 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/0.8457, allocations: 35.86 kB / 0.9828 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.846, allocations: 87.08 kB / 0.9829 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.8461, allocations: 44 kB / 0.983 GB, free: 1.242 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.8473, allocations: 0.7568 MB / 0.9837 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8474, allocations: 152.3 kB / 0.9838 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.8475, allocations: 181 kB / 0.984 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.604e-05/0.8476, allocations: 176.3 kB / 0.9842 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001703/0.8478, allocations: 184.2 kB / 0.9844 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-05/0.8479, allocations: 176.3 kB / 0.9845 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.8499, allocations: 1.605 MB / 0.9861 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/0.85, allocations: 112.9 kB / 0.9862 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.85, allocations: 109 kB / 0.9863 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-05/0.8501, allocations: 180.2 kB / 0.9865 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.8502, allocations: 176.3 kB / 0.9866 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-05/0.8503, allocations: 180.3 kB / 0.9868 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.156e-05/0.8503, allocations: 180.2 kB / 0.987 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.8506, allocations: 363 kB / 0.9873 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.8507, allocations: 229.3 kB / 0.9875 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.926e-05/0.8508, allocations: 176.3 kB / 0.9877 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.8509, allocations: 104.9 kB / 0.9878 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.851, allocations: 188.2 kB / 0.988 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.8511, allocations: 108.9 kB / 0.9881 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005789/0.8517, allocations: 499 kB / 0.9886 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8517, allocations: 0 / 0.9886 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001081/0.8527, allocations: 329.3 kB / 0.9889 GB, free: 10.93 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005448/0.8533, allocations: 0.8628 MB / 0.9897 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.8538, allocations: 295.7 kB / 0.99 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8538, allocations: 0 / 0.99 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.8538, allocations: 0 / 0.99 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.8544, allocations: 0.5659 MB / 0.9906 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008356/0.8628, allocations: 5.407 MB / 0.9958 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.864, allocations: 1.4 MB / 0.9972 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005179/0.8645, allocations: 292.5 kB / 0.9975 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.8651, allocations: 0.511 MB / 0.998 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.8651, allocations: 0 / 0.998 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.8937, allocations: 13.46 MB / 1.011 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.8939, allocations: 215.9 kB / 1.011 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.031, allocations: 1.625 kB / 1.011 GB, free: 3.758 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat