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.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.001691/0.001691, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002021/0.002021, allocations: 200.4 kB / 22.17 MB, free: 5.211 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.49/1.49, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8994, allocations: 168.7 MB / 1.274 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002864/0.9022, allocations: 1.082 MB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.904, allocations: 1 MB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.9042, allocations: 3.938 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.9043, allocations: 19.8 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.9044, allocations: 19.75 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.9049, allocations: 75.84 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.9052, allocations: 176 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.9054, allocations: 67.84 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.9055, allocations: 63.77 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.9057, allocations: 87.59 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.9057, allocations: 16 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.9057, allocations: 16 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.9058, allocations: 31.92 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.9059, allocations: 75.53 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.9062, allocations: 186 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9062, allocations: 3.938 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9062, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9062, allocations: 4 kB / 1.277 GB, free: 1.57 MB / 0.9669 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.00102/0.9072, allocations: 0.4994 MB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9073, allocations: 8.031 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.9073, allocations: 16.84 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.9077, allocations: 228.6 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.9077, allocations: 20.31 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.9078, allocations: 16.38 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.9081, allocations: 149.6 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9081, allocations: 4 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.9082, allocations: 4 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.9082, allocations: 4 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.9085, allocations: 103.9 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.9096, allocations: 0.5314 MB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.91, allocations: 138.7 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.9102, allocations: 80.78 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.9102, allocations: 8 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.9105, allocations: 115.3 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.9105, allocations: 4 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005829/0.9111, allocations: 227.5 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.9111, allocations: 55.41 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.9114, allocations: 164.8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.9114, allocations: 29.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.9115, allocations: 120.5 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.9116, allocations: 67.44 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.9116, allocations: 37.7 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9118, allocations: 330.8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.912, allocations: 63.97 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.9123, allocations: 89.66 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.9126, allocations: 152.1 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9126, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005102/0.9131, allocations: 209.5 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9132, allocations: 5.562 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9132, allocations: 3.938 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9132, allocations: 8.031 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.9134, allocations: 35.97 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.9134, allocations: 7.938 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.9135, allocations: 31.81 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.9136, allocations: 4 kB / 1.28 GB, free: 13.81 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.000124/0.9137, allocations: 134.2 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.9137, allocations: 19.91 kB / 1.281 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.9141, allocations: 188.8 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9142, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.9142, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9142, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009394/0.9151, allocations: 0.5929 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.9151, allocations: 7.938 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.9153, allocations: 27.98 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.9153, allocations: 7.938 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.9153, allocations: 8.188 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.9153, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.9153, allocations: 15.91 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.916, allocations: 376.4 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.916, allocations: 92.95 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.9161, allocations: 8 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.9162, allocations: 20.02 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.9163, allocations: 27.92 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.9163, allocations: 7.984 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000201/0.9165, allocations: 121.7 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9165, allocations: 0 / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002812/0.9168, allocations: 35.89 kB / 1.282 GB, free: 11.99 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.0001641/0.917, allocations: 107.2 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.9174, allocations: 157.5 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9174, allocations: 0 / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.9176, allocations: 91.77 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.918, allocations: 19.98 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.9188, allocations: 402.5 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.9192, allocations: 0.7243 MB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.9192, allocations: 17.42 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.9193, allocations: 23.44 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.9193, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.005431/0.9247, allocations: 1.834 MB / 1.285 GB, free: 8.562 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] 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_2/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: 8.947635708842427]