Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001552/0.001552, allocations: 196 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 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.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.72 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002018/0.3, allocations: 0.6617 MB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.3009, allocations: 0.804 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.3009, allocations: 4 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.301, allocations: 7.875 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.3011, allocations: 4 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3012, allocations: 7.984 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.3013, allocations: 23.88 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3014, allocations: 7.984 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.3015, allocations: 8 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.3015, allocations: 15.92 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3015, allocations: 0 / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3016, allocations: 8 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.3016, allocations: 3.984 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.3016, allocations: 7.938 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.371e-05/0.3017, allocations: 23.89 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3017, allocations: 4 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3017, allocations: 3.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.3017, allocations: 0 / 1.02 GB, free: 8.223 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005271/0.3023, allocations: 335.5 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3023, allocations: 12.92 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3024, allocations: 8.844 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3025, allocations: 164.3 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3025, allocations: 384 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3026, allocations: 4.375 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3027, allocations: 50.22 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.3027, allocations: 192 / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3028, allocations: 7.938 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3028, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.3029, allocations: 35.95 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.3033, allocations: 244.9 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3034, allocations: 38.5 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.3035, allocations: 28.89 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3035, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3035, allocations: 30.56 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3035, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003343/0.3039, allocations: 85.58 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3039, allocations: 51.41 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.304, allocations: 102 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.304, allocations: 29.7 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.3041, allocations: 84.12 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.3041, allocations: 3.906 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.3041, allocations: 17.72 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3043, allocations: 310.8 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3043, allocations: 11.98 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.3044, allocations: 27.97 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3046, allocations: 36.77 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3046, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.3048, allocations: 77.44 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3048, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3048, allocations: 96 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3048, allocations: 11.94 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.3049, allocations: 11.98 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3049, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.305, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.305, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001449/0.3051, allocations: 121.8 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.3051, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3054, allocations: 72.72 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3054, allocations: 4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3054, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3054, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3056, allocations: 157.6 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3056, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.3057, allocations: 15.98 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3057, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3057, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3057, allocations: 4.031 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3057, allocations: 0 / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.306, allocations: 159.5 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.306, allocations: 77.11 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.306, allocations: 7.922 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.3061, allocations: 12.03 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3061, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3062, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.3062, allocations: 83.45 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3062, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002191/0.3064, allocations: 4 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001301/0.3066, allocations: 95.25 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3068, allocations: 43.95 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3068, allocations: 4 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.3069, allocations: 11.98 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3072, allocations: 12.02 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.3074, allocations: 117.4 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3078, allocations: 0.6769 MB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.3078, allocations: 4 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.3078, allocations: 15.38 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3079, allocations: 3.938 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Templates: time 0.002449/0.3103, allocations: 439.8 kB / 1.024 GB, free: 3.93 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches