Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001865/0.001865, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009589/0.0009588, allocations: 99.86 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.724e-05/5.74e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.192, allocations: 149.6 MB / 1.365 GB, free: 4.445 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/1.193, allocations: 66.95 kB / 1.365 GB, free: 4.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002153/1.195, allocations: 0.8127 MB / 1.366 GB, free: 3.656 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.202e-06/1.195, allocations: 0 / 1.366 GB, free: 3.656 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.195, allocations: 0 / 1.366 GB, free: 3.656 MB / 0.823 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.0004133/1.195, allocations: 362 kB / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.195, allocations: 12.03 kB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/1.195, allocations: 34.55 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/1.195, allocations: 4.688 kB / 1.366 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.196, allocations: 171 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/1.196, allocations: 0 / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/1.196, allocations: 7.438 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/1.196, allocations: 49 kB / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/1.196, allocations: 0 / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/1.196, allocations: 0 / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.196, allocations: 0 / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/1.196, allocations: 15.88 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/1.196, allocations: 314 kB / 1.367 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/1.196, allocations: 29.7 kB / 1.367 GB, free: 2.562 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/1.196, allocations: 15.67 kB / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/1.196, allocations: 4.078 kB / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.196, allocations: 34.5 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.196, allocations: 4 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/1.197, allocations: 59.86 kB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/1.197, allocations: 56.23 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/1.197, allocations: 100.2 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.197, allocations: 25.7 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/1.197, allocations: 91.31 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/1.197, allocations: 7.812 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.197, allocations: 0 / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.197, allocations: 322.6 kB / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/1.197, allocations: 10.88 kB / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/1.197, allocations: 9.531 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/1.197, allocations: 7.562 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.197, allocations: 0 / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.618e-05/1.197, allocations: 57 kB / 1.367 GB, free: 1.758 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.197, allocations: 5.25 kB / 1.368 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.197, allocations: 3.984 kB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.197, allocations: 7.938 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.197, allocations: 19.98 kB / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.197, allocations: 4 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/1.197, allocations: 19.92 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.197, allocations: 4 kB / 1.368 GB, free: 1.695 MB / 0.823 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 () * 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 5.826e-05/1.198, allocations: 101 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/1.198, allocations: 11.91 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/1.198, allocations: 58.34 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.198, allocations: 0 / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.198, allocations: 3.984 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/1.198, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/1.198, allocations: 168.1 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.198, allocations: 3.938 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/1.198, allocations: 23.92 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.198, allocations: 4 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.198, allocations: 4 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.198, allocations: 3.984 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.198, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/1.198, allocations: 149.9 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/1.198, allocations: 81.02 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/1.198, allocations: 0 / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/1.198, allocations: 19.98 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/1.198, allocations: 7.984 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.198, allocations: 0 / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.049e-05/1.199, allocations: 86.66 kB / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.199, allocations: 0 / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001941/1.199, allocations: 11.44 kB / 1.368 GB, free: 0.9062 MB / 0.823 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 () * 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.0003899/1.199, allocations: 0.6872 MB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.246e-05/1.199, allocations: 26.42 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.199, allocations: 0 / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/1.199, allocations: 15.38 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/1.199, allocations: 8.703 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/1.2, allocations: 109.2 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.2, allocations: 0.6809 MB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.946e-05/1.2, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/1.2, allocations: 22.8 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of SimCode: time 1.603e-06/1.2, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/1.211, allocations: 1.287 MB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.212, allocations: 163 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.639, allocations: 0 / 1.371 GB, free: 13.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat