Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001417/0.001417, allocations: 199 kB / 16.91 MB, free: 6.188 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 69.41 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2942, allocations: 151.6 MB / 1.018 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00194/0.2962, allocations: 0.7247 MB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.2972, allocations: 0.8093 MB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2972, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.2973, allocations: 0 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2974, allocations: 3.938 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.2975, allocations: 15.98 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.2976, allocations: 19.98 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.2977, allocations: 4 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.2977, allocations: 11.94 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.2978, allocations: 7.984 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2978, allocations: 7.938 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.2978, allocations: 0 / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2978, allocations: 11.92 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2979, allocations: 7.984 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.298, allocations: 15.98 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.298, allocations: 4 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.298, allocations: 3.938 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.298, allocations: 3.984 kB / 1.019 GB, free: 9.332 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.0004576/0.2984, allocations: 326 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2985, allocations: 16.91 kB / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2985, allocations: 8.844 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2987, allocations: 164.3 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2987, allocations: 4.375 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.2987, allocations: 4.375 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2989, allocations: 54.22 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2989, allocations: 192 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2989, allocations: 3.938 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2989, allocations: 0 / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2991, allocations: 39.89 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.2994, allocations: 245 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2996, allocations: 38.5 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.2997, allocations: 16.91 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2997, allocations: 7.984 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2997, allocations: 34.56 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2997, allocations: 4 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003368/0.3001, allocations: 81.58 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3001, allocations: 51.41 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.3002, allocations: 97.86 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3002, allocations: 25.7 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.3003, allocations: 80.14 kB / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3003, allocations: 20.02 kB / 1.02 GB, free: 7.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.3004, allocations: 9.719 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3005, allocations: 310.8 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.3006, allocations: 27.92 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3007, allocations: 11.98 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3008, allocations: 52.81 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3008, allocations: 0 / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.3011, allocations: 73.5 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3011, allocations: 4 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3011, allocations: 3.984 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3011, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.3012, allocations: 8 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3012, allocations: 3.938 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.3013, allocations: 12.02 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3013, allocations: 0 / 1.021 GB, free: 7.305 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.932e-05/0.3014, allocations: 110.3 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3014, allocations: 4 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3016, allocations: 76.7 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3016, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3016, allocations: 4.031 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3017, allocations: 0 / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3018, allocations: 157.6 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3018, allocations: 0 / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.3019, allocations: 11.98 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3019, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3019, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3019, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3019, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3022, allocations: 171.4 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.3022, allocations: 81.11 kB / 1.021 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3023, allocations: 0 / 1.021 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.3023, allocations: 7.984 kB / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.3024, allocations: 0 / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3024, allocations: 0 / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.3024, allocations: 95.47 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3024, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002061/0.3027, allocations: 4 kB / 1.022 GB, free: 6.496 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.0001264/0.3028, allocations: 99.25 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.303, allocations: 31.97 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.303, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.3031, allocations: 31.97 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3034, allocations: 7.875 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3037, allocations: 139.2 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3039, allocations: 0.6806 MB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.304, allocations: 11.44 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.304, allocations: 0 / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of Templates: time 0.001808/0.3058, allocations: 0.539 MB / 1.023 GB, free: 4.898 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches