Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.642/2.642, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001068/0.001067, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.367/1.367, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 103.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.862e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/0.9828, allocations: 150.4 MB / 1.353 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.9831, allocations: 80.28 kB / 1.353 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.9973, allocations: 5.133 MB / 1.358 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9974, allocations: 0 / 1.358 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.9974, allocations: 7.844 kB / 1.358 GB, free: 33.78 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009321/0.9983, allocations: 0.5758 MB / 1.359 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.9984, allocations: 7.781 kB / 1.359 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.9985, allocations: 46.78 kB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.9986, allocations: 209.4 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.9986, allocations: 13.38 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.9987, allocations: 22.92 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003303/0.999, allocations: 170.2 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.9994, allocations: 247.6 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9994, allocations: 0 / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.9995, allocations: 0 / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.9995, allocations: 11.75 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.001, allocations: 0.8942 MB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/1.001, allocations: 205.8 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/1.001, allocations: 84.77 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/1.001, allocations: 3.812 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/1.001, allocations: 168.2 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/1.001, allocations: 0 / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0004068/1.002, allocations: 187.5 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.002, allocations: 113.8 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.002, allocations: 170.3 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.002, allocations: 33.92 kB / 1.361 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/1.002, allocations: 162 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/1.002, allocations: 62.45 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/1.002, allocations: 6.969 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.002, allocations: 332.3 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/1.003, allocations: 75.89 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.003, allocations: 112.8 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/1.003, allocations: 78.05 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.003, allocations: 3.938 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004812/1.004, allocations: 256.8 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.004, allocations: 38.47 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.004, allocations: 0 / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.004, allocations: 3.875 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.004, allocations: 66.09 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.004, allocations: 3.938 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/1.004, allocations: 79.56 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.004, allocations: 11.89 kB / 1.362 GB, free: 31.43 MB / 0.8386 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.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete 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.0001082/1.005, allocations: 118.6 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000268/1.005, allocations: 184.6 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/1.005, allocations: 23.41 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/1.005, allocations: 30.44 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.005, allocations: 3.812 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.005, allocations: 192 / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.005, allocations: 5.594 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/1.005, allocations: 293.9 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.005, allocations: 3.781 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/1.006, allocations: 64.17 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.006, allocations: 5.062 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.006, allocations: 5.672 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.006, allocations: 80 / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.006, allocations: 7.922 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/1.006, allocations: 258.6 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/1.006, allocations: 91.42 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/1.006, allocations: 0 / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.006, allocations: 43.19 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.006, allocations: 43.17 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/1.006, allocations: 7.562 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001006/1.006, allocations: 133.9 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.006, allocations: 0 / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003035/1.007, allocations: 61.72 kB / 1.364 GB, free: 30.74 MB / 0.8386 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.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete 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.0006898/1.007, allocations: 0.955 MB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004456/1.008, allocations: 256.2 kB / 1.365 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.008, allocations: 128 / 1.365 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.008, allocations: 113.9 kB / 1.365 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.008, allocations: 29.23 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/1.009, allocations: 371.1 kB / 1.365 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/1.01, allocations: 0.7727 MB / 1.366 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001212/1.01, allocations: 23.86 kB / 1.366 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.01, allocations: 94 kB / 1.366 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/1.01, allocations: 0 / 1.366 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/1.034, allocations: 4.756 MB / 1.371 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.035, allocations: 200.4 kB / 1.371 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.72, allocations: 0 / 1.371 GB, free: 28.45 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat