Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.411/2.411, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001233/0.001233, allocations: 190.7 kB / 0.4901 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.585/1.585, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001056/0.001056, allocations: 106.4 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 10.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.301, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.4979, allocations: 149.6 MB / 1.375 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.4983, allocations: 67.95 kB / 1.375 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002405/0.5007, allocations: 0.8097 MB / 1.376 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5007, allocations: 0 / 1.376 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5008, allocations: 4 kB / 1.376 GB, free: 2.965 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005594/0.5013, allocations: 363.2 kB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5014, allocations: 12.56 kB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.5014, allocations: 34.56 kB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.5015, allocations: 7.938 kB / 1.377 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.5017, allocations: 182.8 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5017, allocations: 0 / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5017, allocations: 4 kB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.502, allocations: 74.52 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.502, allocations: 4 kB / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.502, allocations: 0 / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.502, allocations: 4 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.5023, allocations: 87.86 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.5029, allocations: 304.9 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.5031, allocations: 66.53 kB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.5032, allocations: 0 / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5032, allocations: 38.5 kB / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5032, allocations: 0 / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005625/0.5038, allocations: 161.6 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5038, allocations: 59.36 kB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.5039, allocations: 104.9 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5039, allocations: 25.7 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.504, allocations: 88.12 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.504, allocations: 7.906 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.504, allocations: 0 / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5042, allocations: 314.8 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5043, allocations: 47.95 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.5045, allocations: 39.97 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5046, allocations: 48.17 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5046, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003508/0.505, allocations: 125.5 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.505, allocations: 4 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.505, allocations: 0 / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5051, allocations: 4 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.5052, allocations: 19.98 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5052, allocations: 0 / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.5053, allocations: 27.86 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5054, allocations: 4 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.879e-05/0.5055, allocations: 109.8 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.5055, allocations: 4 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.5055, allocations: 11.84 kB / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5055, allocations: 0 / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5056, allocations: 0 / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5056, allocations: 0 / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.5058, allocations: 173.6 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5058, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5059, allocations: 23.92 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5059, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.5059, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5059, allocations: 8 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5059, allocations: 4 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.5063, allocations: 223.3 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.5064, allocations: 77.11 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5064, allocations: 0 / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5065, allocations: 19.98 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.5066, allocations: 11.98 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.5066, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.5067, allocations: 87.58 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5067, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002059/0.5069, allocations: 8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000782/0.5077, allocations: 0.7637 MB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.508, allocations: 87.92 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.508, allocations: 1.625 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5082, allocations: 51.89 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5085, allocations: 8 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.5089, allocations: 158.5 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5093, allocations: 0.6848 MB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.5093, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.5094, allocations: 11.44 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5094, allocations: 4 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.5226, allocations: 1.279 MB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.5229, allocations: 184.9 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.079, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat