Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.345/2.345, allocations: 393.5 MB / 408.4 MB, free: 11 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.001249/0.001249, allocations: 191.9 kB / 0.4901 GB, free: 2.234 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.508/1.508, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009495/0.0009495, allocations: 98.2 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 11.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3071, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.5345, allocations: 151.9 MB / 1.378 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5348, allocations: 79.94 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.5509, allocations: 5.179 MB / 1.383 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.23e-06/0.551, allocations: 0 / 1.383 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.551, allocations: 7.938 kB / 1.383 GB, free: 7.934 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.001304/0.5523, allocations: 0.6155 MB / 1.383 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.5524, allocations: 8.562 kB / 1.383 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.5525, allocations: 62.53 kB / 1.384 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.5526, allocations: 39.53 kB / 1.384 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.5528, allocations: 214.3 kB / 1.384 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.5529, allocations: 28.56 kB / 1.384 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.553, allocations: 32 kB / 1.384 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.5538, allocations: 363.7 kB / 1.384 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5538, allocations: 0 / 1.384 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.5539, allocations: 12 kB / 1.384 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5539, allocations: 8 kB / 1.384 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009087/0.5548, allocations: 328.4 kB / 1.384 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.5564, allocations: 0.9654 MB / 1.385 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.5571, allocations: 287.7 kB / 1.386 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.5571, allocations: 4.094 kB / 1.386 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.5577, allocations: 241.7 kB / 1.386 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.5577, allocations: 0 / 1.386 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.00145/0.5592, allocations: 0.4973 MB / 1.386 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.5593, allocations: 106.8 kB / 1.387 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.5596, allocations: 224 kB / 1.387 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5596, allocations: 29.7 kB / 1.387 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.5598, allocations: 160.7 kB / 1.387 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.5598, allocations: 67.09 kB / 1.387 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.5599, allocations: 8 kB / 1.387 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.56, allocations: 334.8 kB / 1.387 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.5605, allocations: 152.1 kB / 1.387 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.561, allocations: 193.5 kB / 1.388 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.5615, allocations: 169.6 kB / 1.388 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5615, allocations: 0 / 1.388 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00109/0.5626, allocations: 438.9 kB / 1.388 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.5627, allocations: 41.62 kB / 1.388 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5627, allocations: 0 / 1.388 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5627, allocations: 4 kB / 1.388 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.563, allocations: 63.89 kB / 1.388 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.5631, allocations: 3.953 kB / 1.388 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.5635, allocations: 91.77 kB / 1.388 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.5635, allocations: 8 kB / 1.388 GB, free: 1.891 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.0001915/0.5637, allocations: 150.6 kB / 1.389 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.5638, allocations: 23.72 kB / 1.389 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.5638, allocations: 29.7 kB / 1.389 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5639, allocations: 0 / 1.389 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5639, allocations: 4 kB / 1.389 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5639, allocations: 3.953 kB / 1.389 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.5643, allocations: 349.3 kB / 1.389 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5644, allocations: 4 kB / 1.389 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5647, allocations: 63.88 kB / 1.389 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.5647, allocations: 11.92 kB / 1.389 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5647, allocations: 4 kB / 1.389 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.5647, allocations: 8 kB / 1.389 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5647, allocations: 0 / 1.389 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.5657, allocations: 409.5 kB / 1.389 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.5658, allocations: 108.7 kB / 1.39 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5658, allocations: 8 kB / 1.39 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5661, allocations: 43.91 kB / 1.39 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5662, allocations: 35.95 kB / 1.39 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.5663, allocations: 11.98 kB / 1.39 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001673/0.5664, allocations: 168.5 kB / 1.39 GB, free: 384 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5664, allocations: 0 / 1.39 GB, free: 384 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003327/0.5668, allocations: 71.91 kB / 1.39 GB, free: 312 kB / 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.001459/0.5682, allocations: 1.108 MB / 1.391 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5693, allocations: 413.3 kB / 1.391 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5693, allocations: 0 / 1.391 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.5698, allocations: 184.6 kB / 1.392 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.5701, allocations: 28.69 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5718, allocations: 1.408 MB / 1.393 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.5723, allocations: 0.7793 MB / 1.394 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.5725, allocations: 21.55 kB / 1.394 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.5727, allocations: 95.39 kB / 1.394 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.5727, allocations: 7.938 kB / 1.394 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.5941, allocations: 5.542 MB / 1.399 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.5944, allocations: 239.8 kB / 1.399 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.578, allocations: 0 / 1.399 GB, free: 6.586 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat