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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001395/0.001395, allocations: 181.3 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.1 MB / 0.7948 GB, free: 18.81 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.0009114/0.0009114, allocations: 106.1 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 9.375 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 142.4 MB / 1.223 GB, free: 89.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.4602, allocations: 151.1 MB / 1.371 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4604, allocations: 79.94 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.4754, allocations: 5.179 MB / 1.376 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4754, allocations: 3.938 kB / 1.376 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.4755, allocations: 8 kB / 1.376 GB, free: 12.77 MB / 0.8855 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.001147/0.4766, allocations: 0.6186 MB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4767, allocations: 8.031 kB / 1.376 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.4768, allocations: 66.53 kB / 1.376 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.878e-05/0.4769, allocations: 35.62 kB / 1.376 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4771, allocations: 210.7 kB / 1.377 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.4772, allocations: 24.5 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.4772, allocations: 32 kB / 1.377 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.478, allocations: 359.8 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.478, allocations: 0 / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.4781, allocations: 12 kB / 1.377 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4781, allocations: 8 kB / 1.377 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.4789, allocations: 332.4 kB / 1.377 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.4803, allocations: 0.9693 MB / 1.378 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.481, allocations: 279.8 kB / 1.379 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.481, allocations: 8.078 kB / 1.379 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005569/0.4816, allocations: 237.9 kB / 1.379 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 1.913e-06/0.4816, allocations: 4 kB / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.00132/0.4829, allocations: 497.2 kB / 1.379 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.483, allocations: 106.8 kB / 1.379 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4832, allocations: 220.1 kB / 1.38 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4832, allocations: 33.7 kB / 1.38 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4833, allocations: 164.6 kB / 1.38 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.4834, allocations: 59.17 kB / 1.38 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.4834, allocations: 3.938 kB / 1.38 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4835, allocations: 338.8 kB / 1.38 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.484, allocations: 152.1 kB / 1.38 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.4844, allocations: 203.3 kB / 1.381 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.4848, allocations: 174 kB / 1.381 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4849, allocations: 4 kB / 1.381 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001009/0.4859, allocations: 434.8 kB / 1.381 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.4859, allocations: 37.69 kB / 1.381 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4859, allocations: 0 / 1.381 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.486, allocations: 0 / 1.381 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.4863, allocations: 63.95 kB / 1.381 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4863, allocations: 11.89 kB / 1.381 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.4867, allocations: 87.7 kB / 1.381 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.4868, allocations: 15.98 kB / 1.381 GB, free: 6.727 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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.0001512/0.4869, allocations: 145.8 kB / 1.381 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.487, allocations: 23.72 kB / 1.381 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.487, allocations: 33.69 kB / 1.382 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.487, allocations: 4 kB / 1.382 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4871, allocations: 0 / 1.382 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4871, allocations: 3.953 kB / 1.382 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.4874, allocations: 349.3 kB / 1.382 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4874, allocations: 320 / 1.382 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.4877, allocations: 71.88 kB / 1.382 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4877, allocations: 0 / 1.382 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.4878, allocations: 8 kB / 1.382 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4878, allocations: 0 / 1.382 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4878, allocations: 0 / 1.382 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.4887, allocations: 423.2 kB / 1.382 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.4888, allocations: 100.8 kB / 1.382 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.4888, allocations: 4 kB / 1.382 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.489, allocations: 47.91 kB / 1.382 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4892, allocations: 35.95 kB / 1.383 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4892, allocations: 11.98 kB / 1.383 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001349/0.4893, allocations: 168.5 kB / 1.383 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4893, allocations: 3.938 kB / 1.383 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002965/0.4896, allocations: 63.91 kB / 1.383 GB, free: 5.141 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.001245/0.4909, allocations: 1.11 MB / 1.384 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009439/0.4918, allocations: 421.1 kB / 1.384 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4919, allocations: 0 / 1.384 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.4924, allocations: 184 kB / 1.384 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4926, allocations: 32.36 kB / 1.384 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.494, allocations: 1.412 MB / 1.386 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4943, allocations: 0.7715 MB / 1.387 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.4945, allocations: 25.55 kB / 1.387 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4946, allocations: 91.39 kB / 1.387 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of SimCode: time 3.908e-06/0.4946, allocations: 0 / 1.387 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.5128, allocations: 5.546 MB / 1.392 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.5131, allocations: 225.7 kB / 1.392 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.484, allocations: 0 / 1.392 GB, free: 11.41 MB / 0.9011 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