Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001112/0.001112, allocations: 180.8 kB / 487.4 MB, free: 5.023 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.605/1.605, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008316, allocations: 105.5 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.169e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.207, allocations: 148.9 MB / 1.351 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.207, allocations: 92.66 kB / 1.352 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005163/1.212, allocations: 1.427 MB / 1.353 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.734e-06/1.212, allocations: 5.031 kB / 1.353 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.212, allocations: 0 / 1.353 GB, free: 33.63 MB / 0.8386 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.0004649/1.213, allocations: 360.9 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.213, allocations: 11.53 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/1.213, allocations: 4.5 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/1.213, allocations: 204.8 kB / 1.354 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.213, allocations: 3.547 kB / 1.354 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/1.213, allocations: 3.938 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.143e-05/1.213, allocations: 15.72 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/1.213, allocations: 50.56 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.213, allocations: 0 / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.213, allocations: 0.6562 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/1.213, allocations: 0 / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/1.214, allocations: 275.5 kB / 1.354 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/1.214, allocations: 34.77 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/1.214, allocations: 16.52 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.214, allocations: 0.7031 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/1.214, allocations: 34.56 kB / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/1.214, allocations: 0 / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000171/1.214, allocations: 55.5 kB / 1.354 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.214, allocations: 51.41 kB / 1.354 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/1.214, allocations: 106.2 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/1.214, allocations: 25.7 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/1.215, allocations: 88.89 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/1.215, allocations: 16.33 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.215, allocations: 4 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.215, allocations: 320.6 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/1.215, allocations: 10.5 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/1.215, allocations: 7.375 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/1.215, allocations: 12.97 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.215, allocations: 0 / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.854e-05/1.215, allocations: 55.09 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.215, allocations: 3.844 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.215, allocations: 0.7031 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.215, allocations: 4 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.215, allocations: 14.7 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/1.215, allocations: 3.812 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/1.215, allocations: 12.77 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/1.215, allocations: 8.469 kB / 1.355 GB, free: 32.02 MB / 0.8386 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.433e-05/1.215, allocations: 109.2 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.72e-05/1.215, allocations: 52.48 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/1.215, allocations: 11.72 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/1.215, allocations: 54.22 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.215, allocations: 4.688 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.216, allocations: 7.812 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.216, allocations: 3.953 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/1.216, allocations: 145.4 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.216, allocations: 0 / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.876e-05/1.216, allocations: 14.91 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.216, allocations: 0 / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.216, allocations: 4.656 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.216, allocations: 0 / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.216, allocations: 0 / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.216, allocations: 160.8 kB / 1.355 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/1.216, allocations: 93.38 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/1.216, allocations: 0.7969 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.216, allocations: 14.03 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/1.216, allocations: 6.969 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/1.216, allocations: 0 / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.989e-05/1.216, allocations: 90.98 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.216, allocations: 0 / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002162/1.216, allocations: 8.453 kB / 1.355 GB, free: 31.34 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.0004966/1.217, allocations: 0.7002 MB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.927e-05/1.217, allocations: 22.77 kB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/1.217, allocations: 3.812 kB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/1.217, allocations: 16.17 kB / 1.356 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/1.217, allocations: 6 kB / 1.356 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/1.218, allocations: 129.2 kB / 1.356 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.218, allocations: 0.6875 MB / 1.357 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.195e-05/1.218, allocations: 4.641 kB / 1.357 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/1.218, allocations: 12.91 kB / 1.357 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.218, allocations: 0 / 1.357 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.238, allocations: 1.02 MB / 1.358 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.238, allocations: 160.6 kB / 1.358 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.833, allocations: 0.5 kB / 1.358 GB, free: 29.59 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat