Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.384/2.384, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.0014/0.0014, allocations: 191.7 kB / 0.4902 GB, free: 2.227 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.552/1.552, allocations: 223.1 MB / 0.7992 GB, free: 15.57 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.0009682/0.000968, allocations: 108.1 kB / 0.9396 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 13.69 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 143 MB / 1.229 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.4814, allocations: 152 MB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4817, allocations: 71.95 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.4975, allocations: 5.171 MB / 1.383 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.959e-06/0.4975, allocations: 0 / 1.383 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.4976, allocations: 11.88 kB / 1.383 GB, free: 7.879 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.0013/0.4989, allocations: 0.6107 MB / 1.383 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4989, allocations: 12.56 kB / 1.383 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.4991, allocations: 62.53 kB / 1.384 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4992, allocations: 39.53 kB / 1.384 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.4994, allocations: 206.4 kB / 1.384 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.4995, allocations: 28.5 kB / 1.384 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.4996, allocations: 28 kB / 1.384 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.5004, allocations: 363.8 kB / 1.384 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5004, allocations: 0 / 1.384 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.5005, allocations: 12 kB / 1.384 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5005, allocations: 8 kB / 1.384 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.5014, allocations: 328.4 kB / 1.384 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.5031, allocations: 0.9771 MB / 1.385 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.5039, allocations: 287.7 kB / 1.386 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.5039, allocations: 0 / 1.386 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006359/0.5046, allocations: 255.1 kB / 1.386 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.5046, allocations: 0 / 1.386 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.001469/0.5061, allocations: 0.4895 MB / 1.386 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.5062, allocations: 102.8 kB / 1.387 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.5065, allocations: 224 kB / 1.387 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.5065, allocations: 33.7 kB / 1.387 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5067, allocations: 160.7 kB / 1.387 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.5068, allocations: 63.09 kB / 1.387 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.5068, allocations: 12 kB / 1.387 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.507, allocations: 334.8 kB / 1.387 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.5075, allocations: 152.1 kB / 1.387 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.5079, allocations: 196.6 kB / 1.388 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.5084, allocations: 169.6 kB / 1.388 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5084, allocations: 0 / 1.388 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001115/0.5095, allocations: 434.8 kB / 1.388 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.5096, allocations: 46.59 kB / 1.388 GB, free: 2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5096, allocations: 0 / 1.388 GB, free: 2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.5096, allocations: 4 kB / 1.388 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.51, allocations: 59.95 kB / 1.388 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.51, allocations: 11.88 kB / 1.388 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.5106, allocations: 83.78 kB / 1.388 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.5106, allocations: 15.98 kB / 1.388 GB, free: 1.828 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.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 () * 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.0002064/0.5109, allocations: 145.8 kB / 1.389 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.5109, allocations: 23.72 kB / 1.389 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.511, allocations: 29.7 kB / 1.389 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.511, allocations: 4 kB / 1.389 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.511, allocations: 4 kB / 1.389 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.511, allocations: 3.953 kB / 1.389 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.5114, allocations: 345.3 kB / 1.389 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5115, allocations: 4 kB / 1.389 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.5118, allocations: 63.88 kB / 1.389 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.5118, allocations: 3.984 kB / 1.389 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.5118, allocations: 8 kB / 1.389 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5118, allocations: 0 / 1.389 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5119, allocations: 8 kB / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009997/0.5129, allocations: 412 kB / 1.389 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.513, allocations: 108.7 kB / 1.39 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.513, allocations: 11.98 kB / 1.39 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.5133, allocations: 43.92 kB / 1.39 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5134, allocations: 35.94 kB / 1.39 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.5134, allocations: 12.31 kB / 1.39 GB, free: 492 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001605/0.5136, allocations: 168.5 kB / 1.39 GB, free: 328 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5136, allocations: 0 / 1.39 GB, free: 328 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003474/0.5139, allocations: 63.91 kB / 1.39 GB, free: 264 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.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 () * 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.001528/0.5155, allocations: 1.11 MB / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.5166, allocations: 423 kB / 1.391 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5166, allocations: 0 / 1.391 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.5171, allocations: 180.5 kB / 1.392 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.5174, allocations: 28.69 kB / 1.392 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5193, allocations: 1.412 MB / 1.393 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.5198, allocations: 0.7715 MB / 1.394 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.5199, allocations: 25.55 kB / 1.394 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.5201, allocations: 91.39 kB / 1.394 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.5201, allocations: 7.938 kB / 1.394 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.5407, allocations: 5.542 MB / 1.399 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.541, allocations: 238.8 kB / 1.399 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.51, allocations: 0 / 1.399 GB, free: 6.527 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat