Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.8 MB / 0.7715 GB, free: 4.055 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 64.39 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002436/0.3548, allocations: 0.9986 MB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3562, allocations: 1.026 MB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3563, allocations: 8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3564, allocations: 19.69 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.3565, allocations: 23.8 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3569, allocations: 79.78 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3571, allocations: 168.2 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3573, allocations: 60.45 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3574, allocations: 75.66 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3575, allocations: 79.66 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3575, allocations: 20 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.3576, allocations: 20 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3577, allocations: 39.84 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.3577, allocations: 67.59 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.358, allocations: 184.3 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.358, allocations: 3.938 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.358, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3581, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008827/0.3589, allocations: 434.3 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.359, allocations: 8.031 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.305e-05/0.359, allocations: 4.188 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.3591, allocations: 54.73 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3592, allocations: 20.8 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3595, allocations: 166.8 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3595, allocations: 12.38 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.3595, allocations: 20.12 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.3599, allocations: 179.1 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3599, allocations: 4 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3599, allocations: 4 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3599, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.3602, allocations: 103.9 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3613, allocations: 475.4 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3617, allocations: 138.6 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3619, allocations: 72.86 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.362, allocations: 8 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.3622, allocations: 148.9 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.3622, allocations: 4 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.000564/0.3628, allocations: 227.5 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3628, allocations: 55.41 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.363, allocations: 161.2 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.363, allocations: 33.7 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.3631, allocations: 116.5 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.3632, allocations: 67.42 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.3633, allocations: 41.7 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3634, allocations: 330.8 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3636, allocations: 67.89 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3638, allocations: 89.61 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.3642, allocations: 144.6 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3642, allocations: 0 / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000507/0.3647, allocations: 213.5 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3647, allocations: 11.92 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3647, allocations: 0 / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3647, allocations: 4 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.365, allocations: 39.92 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.365, allocations: 0 / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3651, allocations: 35.84 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3651, allocations: 8.031 kB / 1.29 GB, free: 4.109 MB / 0.9825 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,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.3653, allocations: 133.7 kB / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3653, allocations: 15.91 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.3657, allocations: 186.7 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3657, allocations: 0 / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3657, allocations: 4 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3658, allocations: 0 / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.3666, allocations: 0.5385 MB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3666, allocations: 4 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3668, allocations: 43.84 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3668, allocations: 4 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3668, allocations: 4 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3668, allocations: 8.188 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3668, allocations: 0 / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.3675, allocations: 392.9 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.3675, allocations: 19.88 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3675, allocations: 8 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3677, allocations: 15.98 kB / 1.292 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.3677, allocations: 19.91 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3677, allocations: 19.98 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.212e-05/0.3678, allocations: 122.5 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002706/0.3681, allocations: 28 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008927/0.369, allocations: 0.9147 MB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3694, allocations: 163.7 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3695, allocations: 0 / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3696, allocations: 71.91 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.37, allocations: 36.28 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3729, allocations: 2.12 MB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.373, allocations: 116.2 kB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.198e-05/0.373, allocations: 17.41 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3732, allocations: 59.42 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.3732, allocations: 0 / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.4, allocations: 3.94 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 13.44 kB / 1.299 GB, free: 11 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.07303036993835]