Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_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.288/2.288, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001091/0.001091, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.665/1.665, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.001018/0.001018, allocations: 103.7 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.028e-05/5.039e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.186, allocations: 149.2 MB / 1.352 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004426/1.186, allocations: 72.31 kB / 1.352 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01209/1.198, allocations: 3.567 MB / 1.355 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.198, allocations: 0 / 1.355 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.937e-05/1.198, allocations: 3.844 kB / 1.355 GB, free: 33.66 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007704/1.199, allocations: 458.9 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.199, allocations: 11.53 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/1.199, allocations: 16.23 kB / 1.356 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/1.2, allocations: 228 kB / 1.356 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/1.2, allocations: 3.875 kB / 1.356 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/1.2, allocations: 12.36 kB / 1.356 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/1.2, allocations: 72.61 kB / 1.356 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/1.2, allocations: 113.2 kB / 1.356 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.2, allocations: 0 / 1.356 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/1.2, allocations: 0 / 1.356 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.2, allocations: 8.344 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/1.201, allocations: 0.5004 MB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/1.201, allocations: 112.7 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/1.202, allocations: 67.12 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/1.202, allocations: 0.7969 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/1.202, allocations: 105.9 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/1.202, allocations: 0 / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002619/1.202, allocations: 133.1 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/1.202, allocations: 51.41 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.202, allocations: 134.2 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/1.202, allocations: 26.41 kB / 1.357 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/1.202, allocations: 121.7 kB / 1.357 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/1.202, allocations: 59.48 kB / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/1.202, allocations: 3.875 kB / 1.357 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.203, allocations: 323.1 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/1.203, allocations: 45.41 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/1.203, allocations: 74.77 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9e-05/1.203, allocations: 52.08 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.203, allocations: 0 / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000236/1.203, allocations: 171.7 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.203, allocations: 11.66 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.203, allocations: 0.875 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.203, allocations: 0 / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.203, allocations: 46.31 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.203, allocations: 3.812 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/1.204, allocations: 28.34 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/1.204, allocations: 12.47 kB / 1.358 GB, free: 31.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001136/1.204, allocations: 105.8 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001836/1.204, allocations: 131.7 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/1.204, allocations: 19.47 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/1.204, allocations: 147.6 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.204, allocations: 3.812 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.204, allocations: 0.6562 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.204, allocations: 4.656 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/1.205, allocations: 0.5073 MB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.205, allocations: 11.89 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/1.205, allocations: 39.42 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.205, allocations: 3.844 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.205, allocations: 3.844 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.205, allocations: 2.625 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.205, allocations: 3.844 kB / 1.359 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/1.205, allocations: 405 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/1.205, allocations: 88.7 kB / 1.36 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/1.205, allocations: 10.34 kB / 1.36 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.206, allocations: 14.41 kB / 1.36 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/1.206, allocations: 20.23 kB / 1.36 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/1.206, allocations: 15.66 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.924e-05/1.206, allocations: 102.8 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.206, allocations: 0 / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002799/1.206, allocations: 31.03 kB / 1.36 GB, free: 30.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000823/1.207, allocations: 1.351 MB / 1.361 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002097/1.207, allocations: 126.9 kB / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.207, allocations: 0 / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/1.207, allocations: 64.12 kB / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/1.208, allocations: 14.05 kB / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/1.208, allocations: 320.7 kB / 1.362 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.208, allocations: 0.7274 MB / 1.362 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.149e-05/1.209, allocations: 14.84 kB / 1.362 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/1.209, allocations: 50.06 kB / 1.362 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.209, allocations: 0 / 1.362 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/1.231, allocations: 2.648 MB / 1.365 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.231, allocations: 149.7 kB / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.876, allocations: 0 / 1.365 GB, free: 28.3 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat