Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",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.001133/0.001133, allocations: 91.61 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.001387/0.001387, 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.407/1.407, allocations: 223.2 MB / 240 MB, free: 5.391 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.457/2.457, allocations: 390.4 MB / 0.6655 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 15.98 kB / 0.8149 GB, free: 14.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001497/0.7597, allocations: 0.9666 MB / 0.9549 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.7614, allocations: 1.266 MB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.7616, allocations: 4.156 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.7616, allocations: 19.78 kB / 0.9561 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.7618, allocations: 32.17 kB / 0.9561 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.7623, allocations: 179.9 kB / 0.9563 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.7627, allocations: 319.4 kB / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.7629, allocations: 132.8 kB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.763, allocations: 106.7 kB / 0.9568 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.7632, allocations: 118.6 kB / 0.957 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.7632, allocations: 16.67 kB / 0.957 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.7633, allocations: 26.7 kB / 0.957 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.7633, allocations: 45.86 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.7634, allocations: 70.2 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.7637, allocations: 347.9 kB / 0.9574 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7637, allocations: 0 / 0.9574 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7637, allocations: 0 / 0.9574 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.7637, allocations: 0 / 0.9574 GB, free: 5.363 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008559/0.7646, allocations: 0.5912 MB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7646, allocations: 9.25 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.7647, allocations: 63.39 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.7648, allocations: 49.3 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.7656, allocations: 379.1 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.7656, allocations: 22.97 kB / 0.9585 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.7657, allocations: 33.5 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.7663, allocations: 313.1 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7663, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.7663, allocations: 10.75 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.7664, allocations: 10.83 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.767, allocations: 246 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.7681, allocations: 0.9892 MB / 0.9601 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.7686, allocations: 217.3 kB / 0.9603 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.7689, allocations: 120.1 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.7689, allocations: 2.5 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.7693, allocations: 188.4 kB / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.7693, allocations: 112 / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0009788/0.7703, allocations: 337.7 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.7704, allocations: 106.4 kB / 0.961 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.7706, allocations: 233.3 kB / 0.9612 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.7706, allocations: 28.61 kB / 0.9612 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.7707, allocations: 172.9 kB / 0.9614 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.7708, allocations: 67.77 kB / 0.9615 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.7708, allocations: 7.375 kB / 0.9615 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.7709, allocations: 335.6 kB / 0.9618 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.7712, allocations: 107.6 kB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.7715, allocations: 190.1 kB / 0.9621 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.7718, allocations: 149.4 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7719, allocations: 1.406 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000824/0.7727, allocations: 380.9 kB / 0.9626 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.7727, allocations: 33.86 kB / 0.9626 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7727, allocations: 3.156 kB / 0.9626 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.7728, allocations: 4.719 kB / 0.9626 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.773, allocations: 62.55 kB / 0.9627 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.7731, allocations: 8.906 kB / 0.9627 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.7734, allocations: 80.47 kB / 0.9628 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.7734, allocations: 12.66 kB / 0.9628 GB, free: 1.18 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001327/0.7736, allocations: 152.9 kB / 0.9629 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.7736, allocations: 30.12 kB / 0.963 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.7737, allocations: 27.12 kB / 0.963 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7737, allocations: 6.344 kB / 0.963 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.7737, allocations: 1 kB / 0.963 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.7737, allocations: 5.766 kB / 0.963 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.774, allocations: 314.2 kB / 0.9633 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.774, allocations: 4.781 kB / 0.9633 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.7742, allocations: 48.02 kB / 0.9634 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.7742, allocations: 9.172 kB / 0.9634 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.7743, allocations: 6.25 kB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7743, allocations: 5.406 kB / 0.9634 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7743, allocations: 1.281 kB / 0.9634 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.7749, allocations: 290.2 kB / 0.9637 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.7749, allocations: 95.11 kB / 0.9637 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.7749, allocations: 10.8 kB / 0.9638 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.7751, allocations: 28.31 kB / 0.9638 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.7752, allocations: 36.23 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.7752, allocations: 10 kB / 0.9638 GB, free: 328 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.63e-05/0.7753, allocations: 147.3 kB / 0.964 GB, free: 216 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7753, allocations: 1.062 kB / 0.964 GB, free: 216 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003159/0.7757, allocations: 72.2 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009911/0.7766, allocations: 0.83 MB / 0.9648 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007199/0.7774, allocations: 322 kB / 0.9652 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7774, allocations: 0.625 kB / 0.9652 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.7778, allocations: 130.6 kB / 0.9653 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.7781, allocations: 40.61 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.7807, allocations: 1.468 MB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.7811, allocations: 0.7596 MB / 0.9675 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.7814, allocations: 35.38 kB / 0.9675 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.7815, allocations: 91.44 kB / 0.9676 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.7815, allocations: 0 / 0.9676 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.7984, allocations: 5.096 MB / 0.9726 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.7986, allocations: 243.9 kB / 0.9728 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.698, allocations: 0 / 0.9728 GB, free: 10.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat