Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.466/2.466, 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.001427/0.001426, allocations: 186.5 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.583/1.583, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0008726/0.0008726, allocations: 106.5 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.000444, allocations: 12.28 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3013, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.5078, allocations: 149.6 MB / 1.375 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.508, allocations: 67.95 kB / 1.375 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001822/0.5099, allocations: 0.6435 MB / 1.376 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5099, allocations: 0 / 1.376 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5099, allocations: 0 / 1.376 GB, free: 14.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004319/0.5104, allocations: 351.3 kB / 1.376 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5104, allocations: 16.5 kB / 1.376 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.5105, allocations: 34.5 kB / 1.376 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.5105, allocations: 3.906 kB / 1.376 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5107, allocations: 163 kB / 1.377 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5107, allocations: 4 kB / 1.377 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.5107, allocations: 0 / 1.377 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.5109, allocations: 57.67 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5109, allocations: 0 / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.5109, allocations: 0 / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5109, allocations: 0 / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.5111, allocations: 43.95 kB / 1.377 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.5116, allocations: 268.9 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.5117, allocations: 46.55 kB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.5118, allocations: 4 kB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5118, allocations: 30.56 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.5118, allocations: 0 / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.5122, allocations: 101.7 kB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5123, allocations: 55.41 kB / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.5123, allocations: 96.95 kB / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5124, allocations: 25.7 kB / 1.377 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.5124, allocations: 80.14 kB / 1.377 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.5125, allocations: 7.844 kB / 1.377 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.5125, allocations: 0 / 1.377 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5126, allocations: 326.9 kB / 1.378 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.5127, allocations: 15.98 kB / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.5128, allocations: 23.98 kB / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.631e-05/0.5129, allocations: 23.98 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5129, allocations: 0 / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.5131, allocations: 81.5 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5131, allocations: 8 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5132, allocations: 4.031 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5132, allocations: 0 / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.5133, allocations: 11.98 kB / 1.378 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5133, allocations: 3.984 kB / 1.378 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.5133, allocations: 15.98 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5134, allocations: 3.953 kB / 1.378 GB, free: 12.72 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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 7.708e-05/0.5134, allocations: 109.8 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.5135, allocations: 7.938 kB / 1.378 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.5137, allocations: 76.78 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5137, allocations: 4.188 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5137, allocations: 4 kB / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5138, allocations: 11.95 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.5139, allocations: 161.6 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5139, allocations: 0 / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.514, allocations: 11.98 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.514, allocations: 0 / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.514, allocations: 0 / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.514, allocations: 0 / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.514, allocations: 4 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5143, allocations: 175.5 kB / 1.378 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.5144, allocations: 81.02 kB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.5144, allocations: 0 / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.5145, allocations: 16.02 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5145, allocations: 0 / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.5145, allocations: 0 / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.5146, allocations: 79.28 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5146, allocations: 0 / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001992/0.5148, allocations: 4 kB / 1.379 GB, free: 11.89 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 (2): * Single equations (assignments): 2 * 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.0005993/0.5154, allocations: 0.7132 MB / 1.379 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5156, allocations: 52 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5156, allocations: 0 / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.5157, allocations: 23.92 kB / 1.379 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.5159, allocations: 3.984 kB / 1.379 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.5164, allocations: 138.4 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5167, allocations: 0.6887 MB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.5168, allocations: 0 / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.5168, allocations: 11.44 kB / 1.38 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/0.5168, allocations: 0 / 1.38 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.53, allocations: 0.9963 MB / 1.381 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.5303, allocations: 181.6 kB / 1.381 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.112, allocations: 4 kB / 1.381 GB, free: 9.066 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat does not exist to compare? outputFormat=mat