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.001357/0.001357, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001429/0.001429, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.971/2.971, allocations: 0.49 GB / 0.7923 GB, free: 1.25 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.00206/0.00206, allocations: 71.89 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9224, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001572/0.924, allocations: 0.6794 MB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.9246, allocations: 0.8494 MB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.9247, allocations: 2.688 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.9247, allocations: 0 / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.9247, allocations: 3.938 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.9249, allocations: 10.34 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.9249, allocations: 27.45 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.925, allocations: 6.656 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.9251, allocations: 10 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.9251, allocations: 20.83 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.9251, allocations: 0 / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.9252, allocations: 5.75 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.9252, allocations: 7.984 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.9252, allocations: 6.5 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.9253, allocations: 26.72 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9253, allocations: 3.938 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9253, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9253, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 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.0003372/0.9256, allocations: 341.7 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.9256, allocations: 14.86 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.9257, allocations: 3.781 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.9258, allocations: 172.2 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.9258, allocations: 384 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.9258, allocations: 3.125 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.926, allocations: 50.59 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.926, allocations: 192 / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.926, allocations: 3.938 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.926, allocations: 6.625 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.9261, allocations: 31.05 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.9263, allocations: 242.5 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.9265, allocations: 42.52 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.9265, allocations: 28.22 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.9265, allocations: 2.438 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.9266, allocations: 30.56 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.9266, allocations: 3.984 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003136/0.9269, allocations: 79.02 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.9269, allocations: 63.47 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.9269, allocations: 99.64 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.927, allocations: 25.7 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.927, allocations: 87.56 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.927, allocations: 7.938 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.927, allocations: 12.56 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.927, allocations: 317.5 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.9271, allocations: 18.06 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.9272, allocations: 16.06 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.9273, allocations: 38.17 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9273, allocations: 0 / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001676/0.9275, allocations: 70.2 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.9275, allocations: 15 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.9275, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.9275, allocations: 6.75 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.9276, allocations: 8.859 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.9276, allocations: 0 / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.9277, allocations: 2.5 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9277, allocations: 2.594 kB / 1.325 GB, free: 22.15 MB / 1.061 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 3.568e-05/0.9277, allocations: 113.4 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.9277, allocations: 14.61 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.9279, allocations: 64.27 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9279, allocations: 3.234 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9279, allocations: 4 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.9279, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.928, allocations: 158.3 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.928, allocations: 3.938 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.9281, allocations: 8.5 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.9281, allocations: 4.031 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.9281, allocations: 2.844 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9281, allocations: 3.375 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9281, allocations: 0 / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.9283, allocations: 161.3 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.9283, allocations: 77.11 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.9283, allocations: 6.656 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.9284, allocations: 5.906 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.9284, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.9284, allocations: 5.797 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.842e-05/0.9284, allocations: 81.94 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9284, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002151/0.9286, allocations: 2.906 kB / 1.326 GB, free: 21.46 MB / 1.061 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 9.065e-05/0.9287, allocations: 106 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.9289, allocations: 34.81 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9289, allocations: 3.938 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.929, allocations: 23.64 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.9292, allocations: 6.531 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.9294, allocations: 131.4 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.9295, allocations: 0.6776 MB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.9295, allocations: 7.438 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9295, allocations: 0 / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of Templates: time 0.001595/0.9311, allocations: 0.5494 MB / 1.328 GB, free: 20.47 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.34045023600629]