Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002152/0.002152, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.003391/0.003391, allocations: 191.2 kB / 22.11 MB, free: 5.152 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.54/1.54, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 66.98 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4083, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002748/0.411, allocations: 1.084 MB / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4126, allocations: 0.9987 MB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.4127, allocations: 7.938 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.4129, allocations: 19.73 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.4129, allocations: 27.78 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.4133, allocations: 71.86 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.4135, allocations: 176.1 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.4137, allocations: 60.41 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4138, allocations: 79.64 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.4139, allocations: 75.67 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.414, allocations: 16 kB / 1.309 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.414, allocations: 19.94 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.4141, allocations: 43.83 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.4142, allocations: 71.61 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.4144, allocations: 191.1 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4144, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4144, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.4144, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 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.0009203/0.4154, allocations: 426.4 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4154, allocations: 12.03 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.4155, allocations: 20.84 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.4158, allocations: 163.7 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4158, allocations: 12.38 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.4159, allocations: 16.38 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.4162, allocations: 151.4 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4162, allocations: 3.938 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.4163, allocations: 11.98 kB / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4163, allocations: 4 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.4166, allocations: 103.9 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.4179, allocations: 0.5146 MB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.4183, allocations: 134.7 kB / 1.311 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4185, allocations: 72.77 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4185, allocations: 4 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.4188, allocations: 121.8 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.4188, allocations: 0 / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.000638/0.4195, allocations: 225.4 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.4195, allocations: 55.41 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4197, allocations: 158.9 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4197, allocations: 33.7 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.4198, allocations: 124.5 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.4199, allocations: 67.42 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.42, allocations: 37.7 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4201, allocations: 326.8 kB / 1.312 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4204, allocations: 67.95 kB / 1.312 GB, free: 11.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.4206, allocations: 93.53 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.421, allocations: 140.8 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.421, allocations: 0 / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006138/0.4216, allocations: 217.4 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4216, allocations: 7.938 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4216, allocations: 0 / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4217, allocations: 4 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.4219, allocations: 43.91 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4219, allocations: 0 / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.422, allocations: 35.83 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4221, allocations: 4 kB / 1.313 GB, free: 11.3 MB / 1.014 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.000149/0.4222, allocations: 142.5 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.4222, allocations: 15.91 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.4227, allocations: 184.1 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4227, allocations: 0 / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4227, allocations: 4 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4227, allocations: 3.938 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4237, allocations: 0.5607 MB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4237, allocations: 0 / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4239, allocations: 40.11 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.4239, allocations: 7.938 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.424, allocations: 8 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.424, allocations: 3.984 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.424, allocations: 4 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.4247, allocations: 376.4 kB / 1.314 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.4247, allocations: 19.84 kB / 1.314 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.4247, allocations: 12.03 kB / 1.314 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4249, allocations: 15.98 kB / 1.314 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.425, allocations: 23.97 kB / 1.314 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.425, allocations: 8 kB / 1.314 GB, free: 9.777 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001088/0.4251, allocations: 124.9 kB / 1.314 GB, free: 9.656 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4251, allocations: 0 / 1.314 GB, free: 9.656 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000305/0.4254, allocations: 35.89 kB / 1.314 GB, free: 9.621 MB / 1.014 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.0001578/0.4256, allocations: 108.8 kB / 1.315 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.426, allocations: 160.1 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.426, allocations: 0 / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.4263, allocations: 91.83 kB / 1.315 GB, free: 9.266 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.4266, allocations: 29.67 kB / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.4274, allocations: 378.5 kB / 1.315 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4277, allocations: 0.7242 MB / 1.316 GB, free: 8.066 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.377e-05/0.4278, allocations: 17.42 kB / 1.316 GB, free: 8.047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.4279, allocations: 23.42 kB / 1.316 GB, free: 8.023 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.4279, allocations: 4 kB / 1.316 GB, free: 8.02 MB / 1.014 GB Notification: Performance of Templates: time 0.005707/0.4336, allocations: 1.875 MB / 1.318 GB, free: 6.152 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.678548770025373]