Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001556/0.001556, allocations: 110 kB / 18.93 MB, free: 2.945 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.001786/0.001786, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.255/3.255, allocations: 0.4893 GB / 0.7884 GB, free: 33.27 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-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.64 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4169, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002582/0.4194, allocations: 1.078 MB / 1.317 GB, free: 8.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.4208, allocations: 1.003 MB / 1.318 GB, free: 7.586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.421, allocations: 7.938 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.4211, allocations: 19.73 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.4212, allocations: 23.81 kB / 1.318 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.4215, allocations: 75.78 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.4218, allocations: 180 kB / 1.318 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.4219, allocations: 64.39 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4221, allocations: 67.78 kB / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4222, allocations: 79.61 kB / 1.319 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.4222, allocations: 19.94 kB / 1.319 GB, free: 7.055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.402e-05/0.4222, allocations: 16 kB / 1.319 GB, free: 7.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.4223, allocations: 35.91 kB / 1.319 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.4224, allocations: 87.52 kB / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.4226, allocations: 179.2 kB / 1.319 GB, free: 6.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.4226, allocations: 0 / 1.319 GB, free: 6.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4226, allocations: 3.938 kB / 1.319 GB, free: 6.738 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4226, allocations: 4 kB / 1.319 GB, free: 6.734 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.0008153/0.4234, allocations: 418.4 kB / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4235, allocations: 12.03 kB / 1.319 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4235, allocations: 20.84 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.4238, allocations: 166.8 kB / 1.32 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4238, allocations: 12.38 kB / 1.32 GB, free: 6.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.4239, allocations: 20.38 kB / 1.32 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.4242, allocations: 149.6 kB / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4242, allocations: 0 / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4242, allocations: 4 kB / 1.32 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4242, allocations: 8 kB / 1.32 GB, free: 5.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.4245, allocations: 111.8 kB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4256, allocations: 0.5069 MB / 1.32 GB, free: 5.215 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.426, allocations: 134.7 kB / 1.32 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4261, allocations: 80.78 kB / 1.321 GB, free: 4.992 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4262, allocations: 4 kB / 1.321 GB, free: 4.988 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.4264, allocations: 124.7 kB / 1.321 GB, free: 4.855 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.4264, allocations: 0 / 1.321 GB, free: 4.855 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0005566/0.427, allocations: 223.2 kB / 1.321 GB, free: 4.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.427, allocations: 55.41 kB / 1.321 GB, free: 4.566 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4272, allocations: 168.8 kB / 1.321 GB, free: 4.395 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.4272, allocations: 29.7 kB / 1.321 GB, free: 4.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4273, allocations: 116.5 kB / 1.321 GB, free: 4.242 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.4274, allocations: 75.34 kB / 1.321 GB, free: 4.168 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4275, allocations: 37.7 kB / 1.321 GB, free: 4.125 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4276, allocations: 326.8 kB / 1.322 GB, free: 3.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4278, allocations: 67.95 kB / 1.322 GB, free: 3.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.4281, allocations: 91.23 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.4284, allocations: 147.4 kB / 1.322 GB, free: 3.488 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4284, allocations: 3.938 kB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005062/0.4289, allocations: 218.1 kB / 1.322 GB, free: 3.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4289, allocations: 4 kB / 1.322 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.429, allocations: 3.984 kB / 1.322 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.429, allocations: 4 kB / 1.322 GB, free: 3.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.4292, allocations: 35.98 kB / 1.322 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4292, allocations: 0 / 1.322 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.4293, allocations: 31.86 kB / 1.322 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.4293, allocations: 4 kB / 1.322 GB, free: 3.184 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.0001343/0.4295, allocations: 133.7 kB / 1.322 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4295, allocations: 19.91 kB / 1.322 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.4299, allocations: 190.6 kB / 1.323 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4299, allocations: 0 / 1.323 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4299, allocations: 4 kB / 1.323 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4299, allocations: 0 / 1.323 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.4309, allocations: 0.548 MB / 1.323 GB, free: 2.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4309, allocations: 3.984 kB / 1.323 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.431, allocations: 40.17 kB / 1.323 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.431, allocations: 7.938 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4311, allocations: 8 kB / 1.323 GB, free: 2.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4311, allocations: 7.922 kB / 1.323 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4311, allocations: 4 kB / 1.323 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.4317, allocations: 389.9 kB / 1.324 GB, free: 1.727 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.4317, allocations: 15.84 kB / 1.324 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4317, allocations: 8 kB / 1.324 GB, free: 1.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4319, allocations: 24.02 kB / 1.324 GB, free: 1.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.4319, allocations: 15.97 kB / 1.324 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.432, allocations: 12 kB / 1.324 GB, free: 1.652 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.4321, allocations: 121.2 kB / 1.324 GB, free: 1.535 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4321, allocations: 0 / 1.324 GB, free: 1.535 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002735/0.4323, allocations: 31.94 kB / 1.324 GB, free: 1.504 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.000142/0.4325, allocations: 115.7 kB / 1.324 GB, free: 1.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.4329, allocations: 152.9 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4329, allocations: 0 / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.4331, allocations: 83.84 kB / 1.324 GB, free: 1.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4334, allocations: 33.73 kB / 1.324 GB, free: 1.121 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.4342, allocations: 386.4 kB / 1.324 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4346, allocations: 0.7204 MB / 1.325 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.273e-05/0.4347, allocations: 17.42 kB / 1.325 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.4347, allocations: 23.42 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4348, allocations: 0 / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Templates: time 0.005405/0.4402, allocations: 1.877 MB / 1.327 GB, free: 14.04 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.253069893456995]