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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 167.5 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9903/0.9903, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.776/1.776, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.573e-06/1.573e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.311e-05, allocations: 2.906 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.005212/0.005235, allocations: 1.031 MB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.006606, allocations: 1.051 MB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.00672, allocations: 4 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.00686, allocations: 25.39 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.006928, allocations: 19.8 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.007207, allocations: 79.77 kB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.009352, allocations: 177 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.009477, allocations: 56.52 kB / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.009589, allocations: 100.4 kB / 0.7909 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.009669, allocations: 65.17 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.009694, allocations: 16 kB / 0.7909 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.009739, allocations: 23.94 kB / 0.791 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.009773, allocations: 43.83 kB / 0.791 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.009813, allocations: 45.19 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.009967, allocations: 127.4 kB / 0.7912 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009971, allocations: 4 kB / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009972, allocations: 0 / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.009976, allocations: 1.062 kB / 0.7912 GB, free: 9.301 MB / 0.7448 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.0004787/0.01045, allocations: 0.5047 MB / 0.7917 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.01049, allocations: 16.02 kB / 0.7917 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.01058, allocations: 32.78 kB / 0.7917 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.01074, allocations: 169.6 kB / 0.7919 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.01076, allocations: 14.03 kB / 0.7919 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.01078, allocations: 20.33 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.01094, allocations: 144.5 kB / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.01094, allocations: 192 / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.01096, allocations: 17.2 kB / 0.7921 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.01096, allocations: 7.984 kB / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.01102, allocations: 41.39 kB / 0.7921 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.01153, allocations: 450.9 kB / 0.7925 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.0117, allocations: 99.2 kB / 0.7926 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.01174, allocations: 39.67 kB / 0.7927 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01176, allocations: 6.688 kB / 0.7927 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.01186, allocations: 124.3 kB / 0.7928 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.022e-06/0.01186, allocations: 0 / 0.7928 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0001816/0.01204, allocations: 139.2 kB / 0.7929 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.01206, allocations: 55.41 kB / 0.793 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.01215, allocations: 205.4 kB / 0.7932 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01217, allocations: 25.7 kB / 0.7932 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.01223, allocations: 171.7 kB / 0.7934 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.01227, allocations: 71.38 kB / 0.7934 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.01232, allocations: 44.06 kB / 0.7935 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01243, allocations: 0.5 MB / 0.794 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.01249, allocations: 28.5 kB / 0.794 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.01254, allocations: 52.77 kB / 0.794 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.883e-05/0.01262, allocations: 76.42 kB / 0.7941 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01262, allocations: 0.5312 kB / 0.7941 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001458/0.01277, allocations: 143.4 kB / 0.7942 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01278, allocations: 5.719 kB / 0.7943 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01278, allocations: 0 / 0.7943 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.01279, allocations: 5.156 kB / 0.7943 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.01289, allocations: 35.92 kB / 0.7943 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.01289, allocations: 0 / 0.7943 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.01294, allocations: 25.25 kB / 0.7943 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01295, allocations: 8 kB / 0.7943 GB, free: 5.859 MB / 0.7448 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 7.35e-05/0.01302, allocations: 160.6 kB / 0.7945 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.01304, allocations: 21.64 kB / 0.7945 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.0132, allocations: 134.6 kB / 0.7946 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.0132, allocations: 4 kB / 0.7946 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.0132, allocations: 4 kB / 0.7946 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0132, allocations: 0.5625 kB / 0.7946 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.01359, allocations: 0.4937 MB / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01359, allocations: 4.875 kB / 0.7951 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.01367, allocations: 31.92 kB / 0.7952 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01368, allocations: 7.469 kB / 0.7952 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01369, allocations: 8 kB / 0.7952 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01369, allocations: 0 / 0.7952 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01369, allocations: 4 kB / 0.7952 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.01393, allocations: 362.4 kB / 0.7955 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.01394, allocations: 19.83 kB / 0.7955 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01396, allocations: 8 kB / 0.7955 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.01402, allocations: 12 kB / 0.7956 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.01407, allocations: 28.52 kB / 0.7956 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01408, allocations: 4.5 kB / 0.7956 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.01413, allocations: 145.8 kB / 0.7957 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 1.844 kB / 0.7957 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001647/0.01429, allocations: 32 kB / 0.7958 GB, free: 4.281 MB / 0.7448 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 8.179e-05/0.01437, allocations: 107.2 kB / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.0145, allocations: 95.05 kB / 0.796 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01451, allocations: 3.938 kB / 0.796 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.01456, allocations: 58.7 kB / 0.796 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.01477, allocations: 29.67 kB / 0.796 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.01529, allocations: 377.9 kB / 0.7964 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.661e-05/0.01534, allocations: 76.06 kB / 0.7965 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.01538, allocations: 20.8 kB / 0.7965 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.01547, allocations: 102.2 kB / 0.7966 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01547, allocations: 0 / 0.7966 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.003455/0.01892, allocations: 1.976 MB / 0.7985 GB, free: 1.418 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.040893652942032]