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.001257/0.001257, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001315/0.001315, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.416/1.416, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.543/2.543, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 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.002015/0.002015, allocations: 71.89 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002579/0.3218, allocations: 1.072 MB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3232, allocations: 1.011 MB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3234, allocations: 3.938 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.3236, allocations: 11.81 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/0.3237, allocations: 23.73 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.324, allocations: 75.84 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.3243, allocations: 180 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3245, allocations: 61.39 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.3246, allocations: 71.77 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3247, allocations: 83.61 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.3248, allocations: 16 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.3248, allocations: 16 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.3249, allocations: 39.84 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.325, allocations: 79.58 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3252, allocations: 183.1 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3252, allocations: 0 / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3252, allocations: 0 / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3253, allocations: 0 / 1.217 GB, free: 14.03 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.0009582/0.3262, allocations: 489 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3263, allocations: 8.031 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.3263, allocations: 20.84 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3267, allocations: 228.6 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3267, allocations: 12.38 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.3268, allocations: 20.31 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.3272, allocations: 158.5 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3272, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3272, allocations: 8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3272, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.3275, allocations: 107.9 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3287, allocations: 0.5429 MB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3291, allocations: 134.5 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3293, allocations: 92.73 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3294, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.3296, allocations: 115.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.3296, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0006034/0.3302, allocations: 231.5 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3303, allocations: 55.41 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3304, allocations: 161.1 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3304, allocations: 29.7 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.3305, allocations: 116.6 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.3306, allocations: 63.44 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.3307, allocations: 37.7 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3308, allocations: 334.8 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3311, allocations: 67.83 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3313, allocations: 89.66 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.3317, allocations: 144 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3317, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005222/0.3322, allocations: 209.5 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3322, allocations: 4 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3322, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3322, allocations: 4 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3324, allocations: 47.89 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3324, allocations: 4 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3326, allocations: 31.89 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3326, allocations: 8 kB / 1.22 GB, free: 10.28 MB / 0.9669 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.0001241/0.3327, allocations: 129.7 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3328, allocations: 15.91 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.3332, allocations: 198.7 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3332, allocations: 8 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3332, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3332, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.3342, allocations: 0.5848 MB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3342, allocations: 4 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3343, allocations: 35.92 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.3344, allocations: 7.938 kB / 1.221 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3344, allocations: 7.938 kB / 1.221 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3344, allocations: 3.984 kB / 1.221 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3344, allocations: 7.938 kB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.335, allocations: 382.4 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.3351, allocations: 96.89 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3352, allocations: 15.97 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3353, allocations: 11.98 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.3354, allocations: 23.92 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3354, allocations: 11.98 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.802e-05/0.3355, allocations: 117 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3355, allocations: 4 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003138/0.3358, allocations: 39.89 kB / 1.222 GB, free: 8.457 MB / 0.9669 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.0001589/0.336, allocations: 105.9 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.3365, allocations: 158.4 kB / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3365, allocations: 0 / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3367, allocations: 91.89 kB / 1.222 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.337, allocations: 23.97 kB / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.3378, allocations: 415.9 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3382, allocations: 0.7204 MB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3382, allocations: 23.44 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3382, allocations: 4 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.004274/0.3425, allocations: 1.956 MB / 1.225 GB, free: 4.895 MB / 0.9669 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.31800787197426]