Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 106.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.474/3.474, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.48 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4085, allocations: 176.1 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001929/0.4104, allocations: 0.6655 MB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4115, allocations: 0.8475 MB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.4116, allocations: 4 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.4116, allocations: 3.938 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.4117, allocations: 3.984 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.4119, allocations: 15.94 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.4119, allocations: 19.98 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4121, allocations: 4 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.4121, allocations: 19.86 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.4122, allocations: 11.94 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.4122, allocations: 0 / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.4122, allocations: 7.984 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.4122, allocations: 3.984 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.4123, allocations: 15.94 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4124, allocations: 19.91 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4124, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4124, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.4124, allocations: 7.984 kB / 1.323 GB, free: 1.105 MB / 1.014 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.0005243/0.4129, allocations: 335.5 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.413, allocations: 11.98 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.413, allocations: 12.81 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4132, allocations: 172.3 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4132, allocations: 384 / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.4132, allocations: 4.375 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4134, allocations: 54.17 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4134, allocations: 4.188 kB / 1.323 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4134, allocations: 3.938 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4134, allocations: 0 / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.4136, allocations: 31.95 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.4139, allocations: 245 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4141, allocations: 38.5 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.4142, allocations: 24.89 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4142, allocations: 3.938 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.4143, allocations: 38.56 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4143, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003891/0.4146, allocations: 77.64 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4147, allocations: 51.41 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.4148, allocations: 97.86 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4148, allocations: 25.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.4148, allocations: 92.25 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.4149, allocations: 11.89 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.4149, allocations: 13.72 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.415, allocations: 310.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.4151, allocations: 19.92 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.4152, allocations: 15.97 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.4154, allocations: 40.89 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4154, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.4156, allocations: 73.59 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4156, allocations: 4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4156, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4156, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.4157, allocations: 16.02 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4157, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4158, allocations: 4 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4158, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 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.389e-05/0.4159, allocations: 117.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4159, allocations: 12.06 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4161, allocations: 76.77 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4161, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4161, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4161, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4163, allocations: 161.6 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4163, allocations: 3.938 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.4164, allocations: 7.984 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4164, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4164, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4164, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4164, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.4167, allocations: 171.4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.4167, allocations: 77.11 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.4167, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.4168, allocations: 11.98 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4168, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4168, allocations: 8.031 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.4169, allocations: 87.27 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4169, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002124/0.4171, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 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.0001442/0.4172, allocations: 99.25 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4175, allocations: 39.89 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4175, allocations: 4.062 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.4176, allocations: 19.98 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4179, allocations: 10.75 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.4182, allocations: 104.5 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4185, allocations: 0.6806 MB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.4185, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.4186, allocations: 11.5 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4186, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Templates: time 0.002901/0.4215, allocations: 434.9 kB / 1.327 GB, free: 12.81 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.77675436111167]