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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6756, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001408/0.677, allocations: 1.125 MB / 0.955 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004266/0.6775, allocations: 200.4 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.6776, allocations: 1.656 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.6776, allocations: 3.938 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.6778, allocations: 10.64 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.6779, allocations: 15.86 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.678, allocations: 47.69 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.6781, allocations: 8.406 kB / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.6782, allocations: 18.98 kB / 0.9553 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.6783, allocations: 16.83 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.6783, allocations: 2.094 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.6783, allocations: 2.5 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.6783, allocations: 9.156 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.872e-05/0.6783, allocations: 35.89 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.41e-05/0.6784, allocations: 27.11 kB / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6784, allocations: 0 / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6784, allocations: 0 / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6784, allocations: 4 kB / 0.9554 GB, free: 6.906 MB / 0.7169 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.0004249/0.6789, allocations: 360.2 kB / 0.9557 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6789, allocations: 8.969 kB / 0.9557 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.679, allocations: 35.66 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.679, allocations: 10.58 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.6791, allocations: 167.7 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.6791, allocations: 12.75 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.6792, allocations: 2 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.6794, allocations: 64.19 kB / 0.956 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6794, allocations: 3.938 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.6794, allocations: 1.469 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6794, allocations: 0 / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.6796, allocations: 65.31 kB / 0.9561 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.6799, allocations: 283.4 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.6802, allocations: 81.78 kB / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.6803, allocations: 35.05 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.6803, allocations: 0 / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.6804, allocations: 36.03 kB / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.6804, allocations: 0 / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003513/0.6807, allocations: 117.8 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.6808, allocations: 56.56 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.6808, allocations: 120.3 kB / 0.9568 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.6808, allocations: 25.7 kB / 0.9568 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.6809, allocations: 90.86 kB / 0.9569 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.6809, allocations: 9.062 kB / 0.9569 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.6809, allocations: 4 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.6809, allocations: 317.1 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.681, allocations: 29.05 kB / 0.9572 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.6811, allocations: 30.95 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.6812, allocations: 30.12 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6812, allocations: 0 / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.6814, allocations: 101.1 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6815, allocations: 8.719 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6815, allocations: 5.141 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6815, allocations: 0 / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.6816, allocations: 20.8 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6816, allocations: 0 / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.6817, allocations: 7.125 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.6817, allocations: 1.125 kB / 0.9574 GB, free: 4.953 MB / 0.7169 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 5.6e-05/0.6817, allocations: 116.3 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.6818, allocations: 5.281 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.682, allocations: 100.6 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.682, allocations: 7.891 kB / 0.9576 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.682, allocations: 5.344 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.682, allocations: 0 / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.6822, allocations: 167.8 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6822, allocations: 240 / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.6823, allocations: 18.17 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6823, allocations: 1 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.6823, allocations: 1.125 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6823, allocations: 0 / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6823, allocations: 13.02 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.6826, allocations: 223.7 kB / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.6827, allocations: 82.36 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.6827, allocations: 5.656 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.6828, allocations: 9.422 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.6828, allocations: 6.141 kB / 0.9581 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6828, allocations: 9.125 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.6829, allocations: 94.27 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6829, allocations: 0 / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002203/0.6831, allocations: 10.91 kB / 0.9582 GB, free: 4.141 MB / 0.7169 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.000479/0.6836, allocations: 0.7506 MB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.6838, allocations: 67.55 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6838, allocations: 0.9688 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.6839, allocations: 32.44 kB / 0.9591 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.6842, allocations: 10.95 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.685, allocations: 0.53 MB / 0.9596 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.6851, allocations: 0.6822 MB / 0.9603 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.6852, allocations: 1.156 kB / 0.9603 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.6852, allocations: 17.86 kB / 0.9603 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6852, allocations: 0 / 0.9603 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.696, allocations: 1.385 MB / 0.9616 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.6961, allocations: 209.3 kB / 0.9618 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.442, allocations: 3.156 kB / 0.9618 GB, free: 1.391 MB / 0.7169 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