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.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.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.00141/0.00141, allocations: 105 kB / 16.35 MB, free: 5.824 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.001583/0.001583, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 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.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.56 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3352, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002092/0.3373, allocations: 0.6573 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.3382, allocations: 0.8118 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.3382, allocations: 4 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.3383, allocations: 0 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3383, allocations: 11.86 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.3384, allocations: 4 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.3385, allocations: 23.92 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.3386, allocations: 8 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.3387, allocations: 15.92 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.3387, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3387, allocations: 3.984 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-06/0.3387, allocations: 4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3388, allocations: 11.92 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.3388, allocations: 8 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.3389, allocations: 19.91 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3389, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3389, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3389, allocations: 4 kB / 1.02 GB, free: 8.211 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.000404/0.3393, allocations: 335.5 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3394, allocations: 12.92 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3394, allocations: 4.844 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3395, allocations: 168.3 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.3395, allocations: 384 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3395, allocations: 4.375 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3397, allocations: 58.17 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3397, allocations: 192 / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3397, allocations: 3.938 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3397, allocations: 0 / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3399, allocations: 31.97 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.3402, allocations: 244.9 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3403, allocations: 50.44 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3404, allocations: 20.91 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3404, allocations: 3.984 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3404, allocations: 30.56 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3404, allocations: 4 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003028/0.3407, allocations: 77.64 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3408, allocations: 55.41 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.3408, allocations: 101.8 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3409, allocations: 25.7 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3409, allocations: 88.08 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.3409, allocations: 3.906 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.341, allocations: 13.72 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3411, allocations: 323 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.3411, allocations: 11.98 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.3412, allocations: 19.98 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3413, allocations: 36.81 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3414, allocations: 7.938 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001667/0.3415, allocations: 69.58 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3415, allocations: 8 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3416, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3416, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.3417, allocations: 11.92 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.3417, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.3417, allocations: 7.984 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3417, allocations: 4 kB / 1.022 GB, free: 6.184 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 6.308e-05/0.3418, allocations: 114.5 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.3418, allocations: 4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.342, allocations: 68.78 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.342, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.342, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.342, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3422, allocations: 165.6 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3422, allocations: 4.031 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.3423, allocations: 11.98 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3423, allocations: 0 / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3423, allocations: 3.938 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3423, allocations: 7.938 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3423, allocations: 3.984 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.3425, allocations: 167.5 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3425, allocations: 77.11 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3426, allocations: 4 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.3426, allocations: 3.984 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.3427, allocations: 4 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3427, allocations: 0 / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.3427, allocations: 83.28 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3427, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002206/0.343, allocations: 4 kB / 1.023 GB, free: 5.371 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.0001137/0.3431, allocations: 103.3 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3433, allocations: 39.91 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3433, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.3434, allocations: 19.98 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3436, allocations: 15.98 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.3439, allocations: 105.5 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3441, allocations: 0.6729 MB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.3441, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3441, allocations: 11.44 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3441, allocations: 3.938 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of Templates: time 0.002047/0.3462, allocations: 437.8 kB / 1.024 GB, free: 3.922 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 -s gbode -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