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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001204, allocations: 188.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 0.7915 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 99.94 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.305e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.376, allocations: 151.3 MB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.376, allocations: 67.39 kB / 1.367 GB, free: 2.691 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.029/1.405, allocations: 13.96 MB / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.405, allocations: 0 / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.358e-05/1.405, allocations: 47.94 kB / 1.38 GB, free: 6.227 MB / 0.8386 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.001737/1.407, allocations: 1.397 MB / 1.382 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.407, allocations: 12.03 kB / 1.382 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/1.407, allocations: 318.1 kB / 1.382 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/1.408, allocations: 197.3 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.409, allocations: 0.8531 MB / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.409, allocations: 153.8 kB / 1.383 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/1.41, allocations: 195.8 kB / 1.383 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/1.413, allocations: 2.88 MB / 1.386 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/1.413, allocations: 11.94 kB / 1.386 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.414, allocations: 90.5 kB / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/1.414, allocations: 56 kB / 1.386 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/1.416, allocations: 1.706 MB / 1.388 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009334/1.425, allocations: 10.88 MB / 1.399 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.425, allocations: 177.1 kB / 1.399 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/1.426, allocations: 80.14 kB / 1.399 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/1.426, allocations: 75.28 kB / 1.399 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/1.426, allocations: 113.3 kB / 1.399 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/1.426, allocations: 0 / 1.399 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002587/1.426, allocations: 207.3 kB / 1.399 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/1.426, allocations: 130.6 kB / 1.399 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/1.429, allocations: 3.034 MB / 1.402 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/1.43, allocations: 25.7 kB / 1.402 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/1.43, allocations: 0.7774 MB / 1.403 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/1.43, allocations: 0 / 1.403 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/1.43, allocations: 0 / 1.403 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.43, allocations: 314 kB / 1.403 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/1.43, allocations: 4 kB / 1.403 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/1.43, allocations: 0 / 1.403 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/1.43, allocations: 75.28 kB / 1.403 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.43, allocations: 79.28 kB / 1.404 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002319/1.431, allocations: 207.3 kB / 1.404 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.431, allocations: 79.28 kB / 1.404 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/1.431, allocations: 79.22 kB / 1.404 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.749e-05/1.431, allocations: 161.8 kB / 1.404 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.529e-05/1.431, allocations: 79.22 kB / 1.404 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/1.431, allocations: 150.6 kB / 1.404 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/1.431, allocations: 158 kB / 1.404 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.431, allocations: 79.22 kB / 1.405 GB, free: 292 kB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001071/1.431, allocations: 267.4 kB / 1.405 GB, free: 16 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/1.432, allocations: 290.6 kB / 1.405 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/1.432, allocations: 319.6 kB / 1.405 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.123e-05/1.432, allocations: 181.2 kB / 1.406 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.917e-05/1.432, allocations: 183.9 kB / 1.406 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.227e-05/1.432, allocations: 180.2 kB / 1.406 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.433, allocations: 1.14 MB / 1.407 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-05/1.433, allocations: 108.9 kB / 1.407 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/1.433, allocations: 108.2 kB / 1.407 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.241e-05/1.433, allocations: 184.2 kB / 1.407 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/1.433, allocations: 180.2 kB / 1.408 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.425e-05/1.433, allocations: 184.6 kB / 1.408 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.611e-05/1.433, allocations: 180.2 kB / 1.408 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/1.434, allocations: 492 kB / 1.408 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/1.435, allocations: 0.5333 MB / 1.409 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.435, allocations: 180.2 kB / 1.409 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.435, allocations: 108.9 kB / 1.409 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.435, allocations: 180.2 kB / 1.409 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/1.435, allocations: 108 kB / 1.409 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002761/1.438, allocations: 2.313 MB / 1.412 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.438, allocations: 0 / 1.412 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004249/1.438, allocations: 152 kB / 1.412 GB, free: 9.332 MB / 0.8698 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 () * 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.0006295/1.439, allocations: 1.002 MB / 1.413 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.778e-05/1.439, allocations: 0 / 1.413 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.439, allocations: 0 / 1.413 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/1.439, allocations: 3.938 kB / 1.413 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/1.44, allocations: 0.6409 MB / 1.413 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/1.443, allocations: 2.441 MB / 1.416 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.444, allocations: 1.375 MB / 1.417 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003604/1.445, allocations: 275 kB / 1.417 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.445, allocations: 0.562 MB / 1.418 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of SimCode: time 1.402e-06/1.445, allocations: 0 / 1.418 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/1.5, allocations: 26.28 MB / 1.444 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.5, allocations: 197.1 kB / 1.444 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/4.473, allocations: 0 / 1.444 GB, free: 9.418 MB / 0.9011 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat