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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 1.104 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.979/0.9811, allocations: 168.7 MB / 1.269 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002157/0.9833, allocations: 1.076 MB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.9845, allocations: 0.9963 MB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.9846, allocations: 3.594 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.9848, allocations: 19.08 kB / 1.271 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.9848, allocations: 23.48 kB / 1.271 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.9851, allocations: 74.97 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.9854, allocations: 176 kB / 1.271 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.9856, allocations: 64.78 kB / 1.271 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.9857, allocations: 69.22 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.9858, allocations: 83.08 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.9858, allocations: 16.28 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.9859, allocations: 15.97 kB / 1.271 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.9859, allocations: 37.62 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.986, allocations: 78.58 kB / 1.271 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.9863, allocations: 185.4 kB / 1.272 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9863, allocations: 0.6875 kB / 1.272 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9863, allocations: 0 / 1.272 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9863, allocations: 0.7812 kB / 1.272 GB, free: 5.844 MB / 0.9981 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.0008202/0.9871, allocations: 489.9 kB / 1.272 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9872, allocations: 13.97 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.9872, allocations: 51.36 kB / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.9873, allocations: 19 kB / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.9875, allocations: 228.5 kB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.9876, allocations: 11.78 kB / 1.272 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.9876, allocations: 16.12 kB / 1.272 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.988, allocations: 155.4 kB / 1.273 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.988, allocations: 0 / 1.273 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.988, allocations: 14.38 kB / 1.273 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.988, allocations: 7.562 kB / 1.273 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.9883, allocations: 106.4 kB / 1.273 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9893, allocations: 0.5271 MB / 1.273 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.9897, allocations: 141.5 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.9898, allocations: 77.98 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.9898, allocations: 11.17 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.9901, allocations: 120.8 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.9901, allocations: 1.031 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000539/0.9906, allocations: 223.5 kB / 1.274 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.9906, allocations: 57.41 kB / 1.274 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.9908, allocations: 163.1 kB / 1.274 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.9908, allocations: 33.73 kB / 1.274 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.9909, allocations: 116 kB / 1.274 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.9909, allocations: 67.17 kB / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.991, allocations: 39.31 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.991, allocations: 328.1 kB / 1.275 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.9913, allocations: 70.91 kB / 1.275 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.9915, allocations: 85.77 kB / 1.275 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.9918, allocations: 148.4 kB / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9918, allocations: 0 / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004919/0.9923, allocations: 220.4 kB / 1.275 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9924, allocations: 5.406 kB / 1.275 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9924, allocations: 0.8125 kB / 1.275 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9924, allocations: 1.125 kB / 1.275 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.9926, allocations: 39.91 kB / 1.275 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9926, allocations: 2.891 kB / 1.275 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.9927, allocations: 31.09 kB / 1.275 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.9927, allocations: 8.125 kB / 1.275 GB, free: 3.344 MB / 0.9981 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 8.184e-05/0.9928, allocations: 134.9 kB / 1.275 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.9928, allocations: 18.38 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.9933, allocations: 183 kB / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9933, allocations: 2.594 kB / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9933, allocations: 0 / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9933, allocations: 5.844 kB / 1.275 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.994, allocations: 0.5884 MB / 1.276 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.994, allocations: 3.75 kB / 1.276 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.9942, allocations: 36.56 kB / 1.276 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.9942, allocations: 6.062 kB / 1.276 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.9942, allocations: 6.875 kB / 1.276 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.9942, allocations: 4.531 kB / 1.276 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9942, allocations: 2.438 kB / 1.276 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.9948, allocations: 382.9 kB / 1.276 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.9948, allocations: 106 kB / 1.277 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.9949, allocations: 8.375 kB / 1.277 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.995, allocations: 15.61 kB / 1.277 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.9951, allocations: 29.17 kB / 1.277 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.9951, allocations: 6.062 kB / 1.277 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.9952, allocations: 122 kB / 1.277 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9952, allocations: 0 / 1.277 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002953/0.9955, allocations: 36.58 kB / 1.277 GB, free: 2.145 MB / 0.9981 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) * 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.0007731/0.9962, allocations: 0.9211 MB / 1.278 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.9966, allocations: 152.2 kB / 1.278 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9966, allocations: 0 / 1.278 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.9968, allocations: 88.2 kB / 1.278 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.9971, allocations: 27.95 kB / 1.278 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.9997, allocations: 2.135 MB / 1.28 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/1, allocations: 0.7293 MB / 1.281 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.955e-05/1, allocations: 15.56 kB / 1.281 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/1, allocations: 55.34 kB / 1.281 GB, free: 14.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/1, allocations: 0 / 1.281 GB, free: 14.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/1.029, allocations: 3.654 MB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/9.465, allocations: 11.91 kB / 1.284 GB, free: 14.33 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 15.617568118032068]