Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001298/0.001298, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001306/0.001307, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.028 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 151.6 MB / 1.176 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002353/0.3073, allocations: 1.062 MB / 1.177 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3087, allocations: 1.003 MB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3088, allocations: 7.938 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.309, allocations: 11.81 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.309, allocations: 23.72 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3093, allocations: 79.78 kB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3096, allocations: 172.1 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3098, allocations: 80 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3099, allocations: 79.69 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.31, allocations: 75.62 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.31, allocations: 16 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.31, allocations: 16 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.3101, allocations: 39.89 kB / 1.179 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.3102, allocations: 75.53 kB / 1.179 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3104, allocations: 191.1 kB / 1.179 GB, free: 3.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3104, allocations: 4 kB / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3104, allocations: 0 / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3105, allocations: 0 / 1.179 GB, free: 3.023 MB / 0.92 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.0008559/0.3113, allocations: 482.6 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3114, allocations: 8.031 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.3114, allocations: 20.84 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.3118, allocations: 228.6 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3118, allocations: 20.31 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3118, allocations: 16.31 kB / 1.18 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.3122, allocations: 158.5 kB / 1.18 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3122, allocations: 0 / 1.18 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3122, allocations: 4 kB / 1.18 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3122, allocations: 4 kB / 1.18 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3125, allocations: 111.9 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3136, allocations: 0.539 MB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.314, allocations: 140.9 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3142, allocations: 84.75 kB / 1.181 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3142, allocations: 4 kB / 1.181 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.3145, allocations: 123.3 kB / 1.181 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.3145, allocations: 0 / 1.181 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.0005779/0.3151, allocations: 224.2 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3151, allocations: 51.41 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3153, allocations: 164 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3153, allocations: 33.7 kB / 1.181 GB, free: 460 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.3154, allocations: 112.6 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.3155, allocations: 71.42 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.3156, allocations: 37.7 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3157, allocations: 326.8 kB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3159, allocations: 71.83 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3162, allocations: 91.69 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.3165, allocations: 145.5 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3165, allocations: 0 / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004935/0.317, allocations: 215.6 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3171, allocations: 8 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3171, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3171, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3173, allocations: 47.84 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3173, allocations: 3.938 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3175, allocations: 23.88 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3175, allocations: 15.97 kB / 1.182 GB, free: 15.27 MB / 0.9356 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.000117/0.3176, allocations: 133.7 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3176, allocations: 15.91 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.3181, allocations: 190.7 kB / 1.183 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3181, allocations: 4 kB / 1.183 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3181, allocations: 0 / 1.183 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3181, allocations: 3.984 kB / 1.183 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.319, allocations: 0.5813 MB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.319, allocations: 7.984 kB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.3192, allocations: 40.11 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.3192, allocations: 3.938 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3192, allocations: 8 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3192, allocations: 4 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3193, allocations: 3.938 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.3199, allocations: 378.2 kB / 1.184 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.32, allocations: 96.89 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.32, allocations: 12 kB / 1.184 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3201, allocations: 24.02 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3202, allocations: 23.92 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3202, allocations: 7.984 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.601e-05/0.3203, allocations: 121 kB / 1.184 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3204, allocations: 0 / 1.184 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002711/0.3206, allocations: 35.89 kB / 1.184 GB, free: 13.45 MB / 0.9356 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.000149/0.3208, allocations: 107.2 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.3212, allocations: 167.7 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.3213, allocations: 4 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3214, allocations: 83.83 kB / 1.184 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3218, allocations: 28.42 kB / 1.184 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.3225, allocations: 415.6 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3228, allocations: 0.7283 MB / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.3229, allocations: 15.44 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.3229, allocations: 4 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.003987/0.3269, allocations: 1.971 MB / 1.187 GB, free: 9.871 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.59517223003786]