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.001348/0.001348, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001476/0.001476, allocations: 192.5 kB / 22.23 MB, free: 5.105 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.559/1.559, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.5 MB / 0.7322 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002226/0.002226, allocations: 71.89 kB / 1.062 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9569, allocations: 160.8 MB / 1.219 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002588/0.9595, allocations: 1.072 MB / 1.22 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.9611, allocations: 1.005 MB / 1.221 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.9612, allocations: 7.062 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.9613, allocations: 19.73 kB / 1.221 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.9614, allocations: 25.55 kB / 1.221 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.9617, allocations: 76.3 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.9621, allocations: 175.5 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.9623, allocations: 71.14 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.9625, allocations: 67.88 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.9627, allocations: 80.7 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.9627, allocations: 16.56 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.9628, allocations: 16.09 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.9628, allocations: 41.23 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.963, allocations: 78.67 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.9633, allocations: 178.6 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.9633, allocations: 1.031 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9633, allocations: 3.938 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.9633, allocations: 0 / 1.221 GB, free: 1.551 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.001099/0.9644, allocations: 0.4929 MB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.9645, allocations: 13.06 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.9645, allocations: 22.5 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.965, allocations: 226.8 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.965, allocations: 10.94 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.9651, allocations: 19.03 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.9655, allocations: 151.2 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.9655, allocations: 3.984 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.9655, allocations: 5.844 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.9655, allocations: 8.406 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.9658, allocations: 105.6 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.9671, allocations: 0.5379 MB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.9675, allocations: 134 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.9677, allocations: 79.08 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.9678, allocations: 3.281 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.9681, allocations: 124.8 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.9681, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0006444/0.9687, allocations: 220.5 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.9688, allocations: 57.61 kB / 1.224 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.969, allocations: 162.8 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.969, allocations: 30.83 kB / 1.224 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.9691, allocations: 124.1 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.9691, allocations: 62.81 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.9692, allocations: 42.55 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9694, allocations: 330.8 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.9696, allocations: 67.02 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.9698, allocations: 89.41 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.9702, allocations: 148.7 kB / 1.225 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9702, allocations: 5.062 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005038/0.9707, allocations: 212.3 kB / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9707, allocations: 5.469 kB / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9707, allocations: 0 / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.9707, allocations: 2.25 kB / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.9709, allocations: 45.5 kB / 1.225 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9709, allocations: 1.062 kB / 1.225 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.9711, allocations: 26.72 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.9711, allocations: 8.359 kB / 1.225 GB, free: 14.74 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.00014/0.9712, allocations: 140.5 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.9713, allocations: 19.03 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.9717, allocations: 191.8 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9717, allocations: 2.188 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9717, allocations: 0 / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9717, allocations: 0 / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.9726, allocations: 0.5832 MB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9726, allocations: 1.281 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.9728, allocations: 39.17 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.9728, allocations: 6.375 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.9728, allocations: 3.906 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.9728, allocations: 6.812 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.9728, allocations: 9.438 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.9735, allocations: 381.1 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.9735, allocations: 99.08 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.9736, allocations: 6.594 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.9737, allocations: 21.33 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.9738, allocations: 19.78 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.9738, allocations: 9.312 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.497e-05/0.9739, allocations: 120.2 kB / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9739, allocations: 0 / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002773/0.9742, allocations: 36.14 kB / 1.226 GB, free: 13.39 MB / 0.9356 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.0001556/0.9744, allocations: 113 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.9748, allocations: 154.1 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9748, allocations: 0 / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.975, allocations: 82.66 kB / 1.227 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.9753, allocations: 40.42 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.976, allocations: 381.5 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.9764, allocations: 0.7236 MB / 1.228 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.128e-05/0.9764, allocations: 18.78 kB / 1.228 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.9765, allocations: 26.2 kB / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9765, allocations: 0 / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.005547/0.982, allocations: 1.877 MB / 1.23 GB, free: 11.18 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.320791486650705]