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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002017, allocations: 111.1 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 189.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.72 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002464/0.2973, allocations: 1.078 MB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2986, allocations: 0.9948 MB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2988, allocations: 7.938 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2989, allocations: 15.8 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.299, allocations: 19.73 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2993, allocations: 71.86 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.2995, allocations: 184 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2997, allocations: 80.03 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2998, allocations: 67.78 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3, allocations: 83.59 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3, allocations: 16 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.551e-05/0.3, allocations: 16 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.3001, allocations: 39.84 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.3002, allocations: 75.59 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3004, allocations: 191.2 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3004, allocations: 0 / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3004, allocations: 4 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3004, allocations: 0 / 1.022 GB, free: 6.887 MB / 0.795 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.0008127/0.3012, allocations: 478.8 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3013, allocations: 8.922 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.3013, allocations: 20.66 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3017, allocations: 226.1 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3017, allocations: 16.31 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.3017, allocations: 12.38 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3021, allocations: 158.9 kB / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3021, allocations: 0 / 1.023 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3021, allocations: 8 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3021, allocations: 4 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.3024, allocations: 111.8 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3035, allocations: 0.5312 MB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.3039, allocations: 138.7 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3041, allocations: 84.75 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3041, allocations: 15.92 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3044, allocations: 117.1 kB / 1.024 GB, free: 4.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.3044, allocations: 0 / 1.024 GB, free: 4.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=19): time 0.0005129/0.3049, allocations: 231.2 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3049, allocations: 55.41 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3051, allocations: 161.2 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3051, allocations: 29.7 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.3052, allocations: 124.4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.3052, allocations: 59.11 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.3053, allocations: 41.7 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3054, allocations: 322.8 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.3056, allocations: 75.81 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3059, allocations: 88.52 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.3062, allocations: 150.8 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3062, allocations: 0 / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004729/0.3067, allocations: 212.4 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3067, allocations: 4 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3067, allocations: 7.938 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3067, allocations: 0 / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3069, allocations: 43.97 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3069, allocations: 0 / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3071, allocations: 23.83 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3071, allocations: 12.03 kB / 1.025 GB, free: 3.152 MB / 0.795 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.0001195/0.3072, allocations: 129.7 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.3073, allocations: 19.8 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.3077, allocations: 182.8 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3077, allocations: 4 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3077, allocations: 0 / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3077, allocations: 7.984 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.3086, allocations: 0.5825 MB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3086, allocations: 11.97 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.3088, allocations: 35.97 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3088, allocations: 3.938 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3088, allocations: 8 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.597e-06/0.3088, allocations: 11.94 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3088, allocations: 7.875 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.3094, allocations: 382.4 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.3095, allocations: 96.8 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3095, allocations: 12 kB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3097, allocations: 16.03 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.3098, allocations: 27.91 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3098, allocations: 4 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.3099, allocations: 121.4 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.3099, allocations: 0 / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002742/0.3102, allocations: 28 kB / 1.027 GB, free: 1.34 MB / 0.795 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.0001606/0.3103, allocations: 119.2 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.3108, allocations: 155.8 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3108, allocations: 4 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.311, allocations: 95.02 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3113, allocations: 24 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.312, allocations: 382.7 kB / 1.027 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3123, allocations: 0.7166 MB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.429e-05/0.3123, allocations: 21.42 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.3124, allocations: 19.42 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3124, allocations: 0 / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.004723/0.3171, allocations: 1.745 MB / 1.03 GB, free: 14.01 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches