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.001905/0.001905, allocations: 113 kB / 19.73 MB, free: 2.227 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.001978/0.001978, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.962/2.962, allocations: 476.7 MB / 0.7714 GB, free: 4.332 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.002045/0.002045, allocations: 61.89 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002654/0.3733, allocations: 1.076 MB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3747, allocations: 1.038 MB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3748, allocations: 4 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.375, allocations: 19.75 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.375, allocations: 23.72 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.3754, allocations: 71.86 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3756, allocations: 184 kB / 1.287 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3758, allocations: 56.27 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3759, allocations: 71.77 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.376, allocations: 87.61 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.376, allocations: 16 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.3761, allocations: 16 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3761, allocations: 47.83 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.3762, allocations: 75.59 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.3766, allocations: 187.5 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3766, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3766, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3767, allocations: 4 kB / 1.287 GB, free: 8.758 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.001004/0.3777, allocations: 426.3 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3777, allocations: 8.031 kB / 1.288 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.79e-05/0.3777, allocations: 8.125 kB / 1.288 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.3778, allocations: 58.67 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3779, allocations: 20.8 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.3783, allocations: 166.8 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3784, allocations: 12.38 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.3784, allocations: 20.12 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.3788, allocations: 145.5 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3788, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.3788, allocations: 8 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3788, allocations: 7.984 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3791, allocations: 99.92 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3803, allocations: 0.4992 MB / 1.289 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.3808, allocations: 149.4 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.381, allocations: 80.86 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.381, allocations: 0 / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.3813, allocations: 127.3 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.3813, allocations: 4 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006146/0.3819, allocations: 223.6 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.382, allocations: 59.39 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3821, allocations: 156.6 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.3822, allocations: 33.7 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3823, allocations: 116.5 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.3824, allocations: 67.42 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.3824, allocations: 49.7 kB / 1.29 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3826, allocations: 326.8 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3828, allocations: 59.97 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3831, allocations: 93.59 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.3834, allocations: 148.3 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3834, allocations: 4 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005301/0.384, allocations: 209.4 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.384, allocations: 8 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.384, allocations: 3.984 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.384, allocations: 4.031 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3842, allocations: 39.97 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3842, allocations: 0 / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3844, allocations: 27.88 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3844, allocations: 7.984 kB / 1.29 GB, free: 5.133 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.0001654/0.3846, allocations: 133.7 kB / 1.291 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3846, allocations: 15.91 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.3851, allocations: 196.7 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3851, allocations: 4 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3851, allocations: 0 / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3851, allocations: 0 / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.3861, allocations: 0.5569 MB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3861, allocations: 3.938 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3863, allocations: 39.91 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3863, allocations: 0 / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3863, allocations: 8 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3863, allocations: 12.12 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3863, allocations: 0 / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.387, allocations: 380.4 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.3871, allocations: 23.84 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3871, allocations: 4 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3873, allocations: 19.97 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3873, allocations: 27.95 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3873, allocations: 8 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3874, allocations: 122.8 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3874, allocations: 0 / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002957/0.3877, allocations: 32 kB / 1.292 GB, free: 3.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.0009926/0.3887, allocations: 0.9189 MB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.3892, allocations: 158.3 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3892, allocations: 0 / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3894, allocations: 89.45 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3897, allocations: 20.38 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.3929, allocations: 2.13 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3933, allocations: 0.7243 MB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.3933, allocations: 21.59 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3935, allocations: 51.42 kB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.3935, allocations: 0 / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.4272, allocations: 3.861 MB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 6.875 kB / 1.3 GB, free: 11.44 MB / 0.9981 GB " [Timeout remaining time 287] (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.12053862202447]