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.0009709/0.000971, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.441/2.441, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005938/0.000594, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7666, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001306/0.7679, allocations: 0.8553 MB / 0.9544 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004413/0.7684, allocations: 228.4 kB / 0.9547 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.7685, allocations: 15.47 kB / 0.9547 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.7687, allocations: 99.5 kB / 0.9548 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.7688, allocations: 80.77 kB / 0.9549 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.769, allocations: 56.62 kB / 0.9549 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.7693, allocations: 377.5 kB / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.7708, allocations: 1.472 MB / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.771, allocations: 178.7 kB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.7711, allocations: 190.7 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.7712, allocations: 12.38 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.7712, allocations: 12.38 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.7716, allocations: 0.5266 MB / 0.9576 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.7719, allocations: 263.3 kB / 0.9578 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.7734, allocations: 1.928 MB / 0.9597 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7734, allocations: 1.219 kB / 0.9597 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7734, allocations: 0 / 0.9597 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.088e-05/0.7734, allocations: 0 / 0.9597 GB, free: 4.316 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.001852/0.7753, allocations: 1.482 MB / 0.9612 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7754, allocations: 9.312 kB / 0.9612 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003154/0.7757, allocations: 316.6 kB / 0.9615 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.776, allocations: 197.9 kB / 0.9617 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.7778, allocations: 0.9342 MB / 0.9626 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.7779, allocations: 150.4 kB / 0.9627 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.7782, allocations: 195.9 kB / 0.9629 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.7822, allocations: 2.772 MB / 0.9656 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.7823, allocations: 8.656 kB / 0.9656 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.7825, allocations: 92.94 kB / 0.9657 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.7825, allocations: 55.34 kB / 0.9658 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.7853, allocations: 1.627 MB / 0.9674 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.7958, allocations: 10.46 MB / 0.9776 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.796, allocations: 170.6 kB / 0.9777 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.796, allocations: 79.27 kB / 0.9778 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.7961, allocations: 111.2 kB / 0.9779 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.7961, allocations: 0 / 0.9779 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001643/0.7962, allocations: 84.44 kB / 0.978 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.7963, allocations: 127.7 kB / 0.9781 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7976, allocations: 0.9032 MB / 0.979 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.7976, allocations: 25.7 kB / 0.979 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/0.7983, allocations: 0.849 MB / 0.9799 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.7983, allocations: 19.98 kB / 0.9799 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.7983, allocations: 12 kB / 0.9799 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.7985, allocations: 370.8 kB / 0.9802 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7987, allocations: 133.2 kB / 0.9804 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.7993, allocations: 0.5834 MB / 0.9809 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.7997, allocations: 275.6 kB / 0.9812 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7997, allocations: 7.938 kB / 0.9812 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009886/0.8007, allocations: 0.696 MB / 0.9819 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.8008, allocations: 12 kB / 0.9819 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.8008, allocations: 16 kB / 0.9819 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.8008, allocations: 24 kB / 0.9819 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.8011, allocations: 92.42 kB / 0.982 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-05/0.8011, allocations: 35.86 kB / 0.9821 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.8014, allocations: 83.12 kB / 0.9821 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.8015, allocations: 43.95 kB / 0.9822 GB, free: 1.812 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.001145/0.8026, allocations: 0.7607 MB / 0.9829 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8027, allocations: 156.3 kB / 0.9831 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.8029, allocations: 177.1 kB / 0.9832 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.532e-05/0.803, allocations: 184.2 kB / 0.9834 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-05/0.803, allocations: 180.2 kB / 0.9836 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-05/0.8031, allocations: 176.3 kB / 0.9838 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.8051, allocations: 1.608 MB / 0.9853 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/0.8052, allocations: 105 kB / 0.9854 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.8052, allocations: 101 kB / 0.9855 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.159e-05/0.8053, allocations: 196.2 kB / 0.9857 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.8054, allocations: 176.3 kB / 0.9859 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.282e-05/0.8055, allocations: 180.2 kB / 0.9861 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.142e-05/0.8056, allocations: 176.3 kB / 0.9862 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.8058, allocations: 367 kB / 0.9866 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.806, allocations: 221.3 kB / 0.9868 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8061, allocations: 180.2 kB / 0.987 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.8062, allocations: 105 kB / 0.9871 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.8063, allocations: 180.3 kB / 0.9872 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.8063, allocations: 112.9 kB / 0.9873 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005348/0.8069, allocations: 0.4951 MB / 0.9878 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8069, allocations: 0 / 0.9878 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009672/0.8079, allocations: 325.3 kB / 0.9881 GB, free: 11.5 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.0004372/0.8083, allocations: 0.8589 MB / 0.989 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.8087, allocations: 290.7 kB / 0.9892 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8087, allocations: 4 kB / 0.9893 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-06/0.8087, allocations: 3.938 kB / 0.9893 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.8092, allocations: 0.5624 MB / 0.9898 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.8211, allocations: 16.5 MB / 1.006 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.8223, allocations: 1.423 MB / 1.007 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005035/0.8228, allocations: 296.5 kB / 1.008 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.8233, allocations: 0.5071 MB / 1.008 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of SimCode: time 1.283e-06/0.8233, allocations: 0 / 1.008 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.8524, allocations: 13.46 MB / 1.021 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.8526, allocations: 209.1 kB / 1.021 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.95, allocations: 4 kB / 1.021 GB, free: 9.082 MB / 0.7794 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