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.001186/0.001186, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00109/0.00109, allocations: 169 kB / 23.82 MB, free: 0.7461 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.969/0.969, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.821/1.821, allocations: 359 MB / 0.6052 GB, free: 11.02 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.473e-06/1.473e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.983e-05, allocations: 8.781 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001526/0.001545, allocations: 1.052 MB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002579, allocations: 1.047 MB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.002674, allocations: 7.938 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002795, allocations: 19.73 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.002844, allocations: 20.81 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.003107, allocations: 81.02 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.003257, allocations: 172.1 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003388, allocations: 60.5 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.003499, allocations: 105.3 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.003577, allocations: 59.78 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.003604, allocations: 16 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.811e-05/0.003652, allocations: 20 kB / 0.7898 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.003685, allocations: 40.86 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.003726, allocations: 47.89 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.003896, allocations: 135.4 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003897, allocations: 0.625 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003898, allocations: 1.406 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.003903, allocations: 0 / 0.79 GB, free: 9.543 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.000525/0.004428, allocations: 0.5007 MB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004462, allocations: 8.031 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.004575, allocations: 40.78 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.00476, allocations: 169.9 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.00478, allocations: 12.38 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.00481, allocations: 29.47 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.005007, allocations: 156.5 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005014, allocations: 0.9062 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.00503, allocations: 12.12 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.005037, allocations: 1.656 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.005121, allocations: 52.84 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.005712, allocations: 480.4 kB / 0.7914 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.005941, allocations: 104.8 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.006005, allocations: 51.61 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.006028, allocations: 0 / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.006145, allocations: 124.8 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 9.61e-07/0.006146, allocations: 1.406 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.00024/0.006386, allocations: 166.4 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.006413, allocations: 55.41 kB / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.00651, allocations: 199.6 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.006528, allocations: 32.55 kB / 0.7921 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.006592, allocations: 167.2 kB / 0.7923 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.006633, allocations: 67.39 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.006681, allocations: 47.36 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.006794, allocations: 0.4923 MB / 0.7928 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.006871, allocations: 35.97 kB / 0.7929 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.006936, allocations: 55.36 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.007043, allocations: 93.8 kB / 0.793 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007045, allocations: 0 / 0.793 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001728/0.007218, allocations: 158.5 kB / 0.7932 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.00723, allocations: 6.875 kB / 0.7932 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007235, allocations: 4 kB / 0.7932 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007249, allocations: 4 kB / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.007351, allocations: 32.52 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007356, allocations: 0 / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.007411, allocations: 25.25 kB / 0.7932 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.00742, allocations: 4 kB / 0.7932 GB, free: 5.98 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 8.121e-05/0.007501, allocations: 173.6 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.00752, allocations: 15.95 kB / 0.7934 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.007697, allocations: 144.4 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007699, allocations: 0 / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007703, allocations: 4 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007706, allocations: 0 / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.008128, allocations: 0.5339 MB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008131, allocations: 0 / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.008216, allocations: 31.98 kB / 0.7941 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008218, allocations: 0 / 0.7941 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.008232, allocations: 8 kB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008235, allocations: 4.781 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.008239, allocations: 11.86 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.008499, allocations: 371.7 kB / 0.7945 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.008515, allocations: 23.83 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.008532, allocations: 7.938 kB / 0.7945 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.008595, allocations: 11.94 kB / 0.7945 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.008643, allocations: 27.89 kB / 0.7946 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.008654, allocations: 12 kB / 0.7946 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.008707, allocations: 146.3 kB / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008707, allocations: 0 / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001729/0.008879, allocations: 32.62 kB / 0.7947 GB, free: 4.324 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 7.988e-05/0.008959, allocations: 105.4 kB / 0.7948 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.009127, allocations: 103.5 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.00913, allocations: 4 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.009195, allocations: 68.34 kB / 0.795 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.009428, allocations: 32.69 kB / 0.795 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.01004, allocations: 382.3 kB / 0.7954 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.01008, allocations: 76.06 kB / 0.7955 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.057e-05/0.01013, allocations: 15.61 kB / 0.7955 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.01017, allocations: 20.5 kB / 0.7955 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.01017, allocations: 6.531 kB / 0.7955 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of Templates: time 0.00342/0.01359, allocations: 1.755 MB / 0.7972 GB, free: 1.746 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.346580323763192]