Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",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.169/2.169, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001251/0.001251, allocations: 176.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.406/1.406, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0008664/0.0008664, allocations: 107.8 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.344e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2518, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8479/1.1, allocations: 150.4 MB / 1.366 GB, free: 3.723 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.1, allocations: 90.48 kB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004056/1.104, allocations: 1.433 MB / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.354e-06/1.104, allocations: 3.938 kB / 1.367 GB, free: 2.422 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.893e-05/1.104, allocations: 4 kB / 1.367 GB, free: 2.418 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004214/1.105, allocations: 359.5 kB / 1.368 GB, free: 2.027 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.105, allocations: 8.031 kB / 1.368 GB, free: 2.02 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/1.105, allocations: 37.42 kB / 1.368 GB, free: 1.977 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/1.105, allocations: 7.906 kB / 1.368 GB, free: 1.969 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/1.105, allocations: 190.4 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/1.105, allocations: 0 / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/1.105, allocations: 15.28 kB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.105, allocations: 39.64 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/1.105, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/1.105, allocations: 2.625 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/1.105, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/1.105, allocations: 25.98 kB / 1.368 GB, free: 1.676 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/1.106, allocations: 303.3 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/1.106, allocations: 44.55 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/1.106, allocations: 15.11 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/1.106, allocations: 0 / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.106, allocations: 34.56 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.106, allocations: 3.938 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001736/1.106, allocations: 64.23 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.106, allocations: 51.41 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/1.106, allocations: 96.81 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/1.106, allocations: 29.7 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/1.106, allocations: 95.34 kB / 1.369 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/1.107, allocations: 15.56 kB / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.107, allocations: 0 / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.107, allocations: 318.1 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/1.107, allocations: 15.94 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/1.107, allocations: 7.5 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/1.107, allocations: 11.38 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.107, allocations: 0 / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.169e-05/1.107, allocations: 68.12 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.107, allocations: 4 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/1.107, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.107, allocations: 4 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.107, allocations: 15.98 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/1.107, allocations: 7.953 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/1.107, allocations: 4 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/1.107, allocations: 4.875 kB / 1.369 GB, free: 448 kB / 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 (5): * Single equations (assignments): 5 * 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 6.756e-05/1.107, allocations: 103.5 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.107, allocations: 7.906 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/1.107, allocations: 63.58 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.107, allocations: 4 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.107, allocations: 4 kB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.107, allocations: 3.953 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/1.108, allocations: 163.8 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.108, allocations: 0 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.108, allocations: 19.36 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.108, allocations: 4.375 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.108, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.108, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.108, allocations: 7.984 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/1.108, allocations: 178.2 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/1.108, allocations: 81.05 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.108, allocations: 4.031 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/1.108, allocations: 7.984 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/1.108, allocations: 4 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/1.108, allocations: 3.5 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.343e-05/1.108, allocations: 86.47 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.108, allocations: 4.062 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001979/1.108, allocations: 11.98 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004616/1.109, allocations: 0.702 MB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/1.109, allocations: 30.92 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.109, allocations: 4.062 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/1.109, allocations: 11.5 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.109, allocations: 7 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/1.11, allocations: 131.6 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.11, allocations: 0.6926 MB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.746e-05/1.11, allocations: 0 / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/1.11, allocations: 19 kB / 1.371 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.11, allocations: 0 / 1.371 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/1.122, allocations: 1.356 MB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.122, allocations: 180.1 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.569, allocations: 0 / 1.373 GB, free: 12.59 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat