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.344/2.344, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001103/0.001103, allocations: 188.3 kB / 498.1 MB, free: 5.684 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.786/1.786, allocations: 223.1 MB / 0.7948 GB, free: 17.81 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.001033/0.001033, allocations: 96.33 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003944, allocations: 11.09 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3292, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.5246, allocations: 149.6 MB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.525, allocations: 87.94 kB / 1.369 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004577/0.5296, allocations: 1.46 MB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.594e-06/0.5296, allocations: 0 / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.5297, allocations: 0 / 1.371 GB, free: 10.77 MB / 0.8698 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.00058/0.5302, allocations: 367.2 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5303, allocations: 8.031 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.5304, allocations: 38.56 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.5304, allocations: 7.906 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.5307, allocations: 186.9 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.5308, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.5308, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.531, allocations: 69.61 kB / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.531, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5311, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5311, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.5313, allocations: 55.95 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.5319, allocations: 300.8 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.5321, allocations: 62.48 kB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5321, allocations: 0 / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5321, allocations: 30.56 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.5321, allocations: 7.938 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004375/0.5326, allocations: 113.7 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5327, allocations: 55.36 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.5328, allocations: 101.3 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5328, allocations: 25.7 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.5329, allocations: 92.03 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.5329, allocations: 15.94 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.5329, allocations: 7.875 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5331, allocations: 318.8 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.5332, allocations: 23.98 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.5333, allocations: 27.98 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.5334, allocations: 35.97 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5334, allocations: 0 / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002521/0.5337, allocations: 97.56 kB / 1.373 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5337, allocations: 4 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5337, allocations: 0 / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5337, allocations: 4 kB / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5339, allocations: 15.98 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5339, allocations: 3.953 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.534, allocations: 8 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.534, allocations: 0 / 1.373 GB, free: 8.496 MB / 0.8698 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 (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 0.0001218/0.5341, allocations: 117.8 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.5342, allocations: 8.094 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.5345, allocations: 101.5 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5345, allocations: 192 / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5345, allocations: 4 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5345, allocations: 7.938 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.5347, allocations: 173.6 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5347, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5349, allocations: 15.98 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5349, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5349, allocations: 4 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.5349, allocations: 3.938 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5349, allocations: 0 / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.5354, allocations: 223.3 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.5354, allocations: 81.14 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.5355, allocations: 0 / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.5356, allocations: 12.06 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.5357, allocations: 7.984 kB / 1.373 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.5357, allocations: 0 / 1.373 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.5357, allocations: 91.2 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5357, allocations: 0 / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002257/0.536, allocations: 12 kB / 1.373 GB, free: 7.547 MB / 0.8698 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 () * Number of clocked 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.0008851/0.5369, allocations: 0.7551 MB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.5371, allocations: 64.02 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5371, allocations: 0 / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.5373, allocations: 35.92 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.5375, allocations: 17.47 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5386, allocations: 0.51 MB / 1.375 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.5389, allocations: 0.6848 MB / 1.375 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.539, allocations: 15.88 kB / 1.375 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.539, allocations: 19.42 kB / 1.375 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.539, allocations: 4 kB / 1.375 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.553, allocations: 1.344 MB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.5533, allocations: 191.5 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.2, allocations: 1.25 kB / 1.377 GB, free: 3.934 MB / 0.8698 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