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.001135/0.001135, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001149/0.001149, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 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.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.38 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001935/0.3144, allocations: 0.6717 MB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3155, allocations: 0.8001 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.3155, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.3156, allocations: 7.938 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.3157, allocations: 3.984 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3158, allocations: 11.92 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.3159, allocations: 19.98 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.316, allocations: 8 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.3161, allocations: 15.88 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.3162, allocations: 11.98 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3162, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.3162, allocations: 4 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3162, allocations: 7.875 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.3162, allocations: 15.97 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.049e-05/0.3163, allocations: 19.91 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3164, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3164, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3164, allocations: 4 kB / 1.02 GB, free: 8.23 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.0004466/0.3168, allocations: 335.5 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3169, allocations: 8.625 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.3169, allocations: 8.844 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.317, allocations: 164.3 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.317, allocations: 384 / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3171, allocations: 8.375 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3172, allocations: 46.23 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3172, allocations: 4.188 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3173, allocations: 7.938 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3173, allocations: 0 / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3174, allocations: 39.83 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3177, allocations: 240.9 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3179, allocations: 50.53 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.318, allocations: 20.89 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.318, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.318, allocations: 34.5 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.318, allocations: 0 / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003282/0.3183, allocations: 85.64 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3184, allocations: 51.41 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.3185, allocations: 105.8 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3185, allocations: 25.7 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.3185, allocations: 80.14 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3186, allocations: 7.906 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.3186, allocations: 13.72 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3187, allocations: 315 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3188, allocations: 23.97 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.3189, allocations: 15.98 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.319, allocations: 36.77 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.319, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.3192, allocations: 77.56 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3192, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3193, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3193, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.3194, allocations: 11.98 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3194, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.3194, allocations: 7.984 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3194, allocations: 3.938 kB / 1.022 GB, free: 6.203 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 7.032e-05/0.3195, allocations: 118.5 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3196, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3198, allocations: 76.72 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3198, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3198, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3198, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.32, allocations: 161.6 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.32, allocations: 4.031 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.32, allocations: 8 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.32, allocations: 3.938 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.32, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3201, allocations: 3.984 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3201, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3203, allocations: 167.4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3203, allocations: 81.09 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3204, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.3204, allocations: 4 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3205, allocations: 7.984 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3205, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.3205, allocations: 79.28 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3205, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002125/0.3208, allocations: 8 kB / 1.023 GB, free: 5.395 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.0001428/0.3209, allocations: 99.28 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3211, allocations: 39.95 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3211, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.3212, allocations: 15.92 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3215, allocations: 15.88 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.0002878/0.3218, allocations: 109.6 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.322, allocations: 0.6768 MB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.3221, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.3221, allocations: 11.44 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3221, allocations: 0 / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of Templates: time 0.002255/0.3244, allocations: 438.5 kB / 1.024 GB, free: 3.945 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 gbode -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