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.001337/0.001337, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001388/0.001388, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.586/2.586, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.05 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2865, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002092/0.2886, allocations: 0.6614 MB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2896, allocations: 0.804 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2897, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.2897, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.2898, allocations: 7.922 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.2899, allocations: 15.98 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.29, allocations: 19.92 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.2901, allocations: 8 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.2902, allocations: 11.94 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.2902, allocations: 7.984 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2902, allocations: 0 / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.2902, allocations: 4 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.2903, allocations: 7.938 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.2903, allocations: 7.984 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.087e-05/0.2904, allocations: 31.89 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2904, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2904, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2904, allocations: 0 / 1.02 GB, free: 9.035 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.0005001/0.2909, allocations: 338 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.291, allocations: 8.922 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.291, allocations: 4.844 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2911, allocations: 168.3 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2911, allocations: 384 / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2912, allocations: 8.312 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2914, allocations: 50.23 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2914, allocations: 4.125 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2914, allocations: 3.938 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2914, allocations: 0 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2916, allocations: 35.95 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.292, allocations: 245 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2921, allocations: 46.42 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.2922, allocations: 24.91 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2922, allocations: 3.938 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2923, allocations: 30.56 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.2923, allocations: 7.984 kB / 1.02 GB, free: 7.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.2926, allocations: 77.64 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2927, allocations: 55.41 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.2928, allocations: 101.8 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2928, allocations: 25.7 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.2929, allocations: 88.27 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.2929, allocations: 7.906 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.293, allocations: 9.719 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2931, allocations: 318.8 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.2932, allocations: 15.97 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.2933, allocations: 15.98 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2935, allocations: 40.89 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2935, allocations: 0 / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002102/0.2937, allocations: 73.5 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2937, allocations: 4 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2937, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2937, allocations: 3.938 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.2938, allocations: 11.98 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2938, allocations: 4.031 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.2939, allocations: 4 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2939, allocations: 3.984 kB / 1.021 GB, free: 7.008 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 9.469e-05/0.294, allocations: 113.8 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.294, allocations: 4 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.2943, allocations: 64.78 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2943, allocations: 4.031 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2943, allocations: 4 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2943, allocations: 0 / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2945, allocations: 161.6 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2945, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.2946, allocations: 7.938 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2946, allocations: 0 / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2946, allocations: 4 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2946, allocations: 0 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2946, allocations: 3.938 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.2949, allocations: 171.4 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.2949, allocations: 81.09 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.295, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.295, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.2951, allocations: 3.984 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2951, allocations: 4.031 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.2951, allocations: 83.28 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2952, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002162/0.2954, allocations: 4 kB / 1.022 GB, free: 6.199 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.0001525/0.2955, allocations: 102.3 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2958, allocations: 39.89 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2958, allocations: 4.062 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.2959, allocations: 19.98 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2962, allocations: 11.88 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.2965, allocations: 135.2 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.2968, allocations: 0.6768 MB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2969, allocations: 7.438 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.2969, allocations: 4.062 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of Templates: time 0.002007/0.2989, allocations: 0.541 MB / 1.023 GB, free: 4.602 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=480 -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