Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001912/0.001912, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001726/0.001726, allocations: 157.7 kB / 22.75 MB, free: 1.688 MB / 18.57 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.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.226/3.226, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8777 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.156e-05, allocations: 2.859 kB / 0.8777 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001962/0.001993, allocations: 0.6643 MB / 0.8783 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003262, allocations: 0.8369 MB / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.003303, allocations: 0 / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.003334, allocations: 3.938 kB / 0.8791 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.003423, allocations: 1.203 kB / 0.8791 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003631, allocations: 15.61 kB / 0.8792 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.003714, allocations: 23.38 kB / 0.8792 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.003802, allocations: 7.984 kB / 0.8792 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.003887, allocations: 25.44 kB / 0.8792 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.003929, allocations: 8.156 kB / 0.8792 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003944, allocations: 0 / 0.8792 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.00399, allocations: 7.984 kB / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.004008, allocations: 8.938 kB / 0.8792 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.004031, allocations: 0 / 0.8792 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004144, allocations: 31.89 kB / 0.8793 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004146, allocations: 1.125 kB / 0.8793 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004147, allocations: 0 / 0.8793 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004151, allocations: 0 / 0.8793 GB, free: 3.66 MB / 0.7917 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.0005082/0.00466, allocations: 263.8 kB / 0.8795 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.004702, allocations: 12.03 kB / 0.8795 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.004823, allocations: 4.938 kB / 0.8795 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.004957, allocations: 111.1 kB / 0.8796 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.00497, allocations: 384 / 0.8796 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.004983, allocations: 8.375 kB / 0.8796 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.005173, allocations: 53.33 kB / 0.8797 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005182, allocations: 192 / 0.8797 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005194, allocations: 4.375 kB / 0.8797 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.005199, allocations: 384 / 0.8797 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.005395, allocations: 35.89 kB / 0.8797 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.005726, allocations: 188.6 kB / 0.8799 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.005869, allocations: 35.16 kB / 0.8799 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.00597, allocations: 26.55 kB / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.005989, allocations: 3.938 kB / 0.88 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.006025, allocations: 34.56 kB / 0.88 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.006027, allocations: 1.344 kB / 0.88 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0004102/0.006437, allocations: 85.67 kB / 0.8801 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.006485, allocations: 55.41 kB / 0.8801 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.00659, allocations: 93.86 kB / 0.8802 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.006609, allocations: 25.7 kB / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.006677, allocations: 88.12 kB / 0.8803 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.0067, allocations: 11.89 kB / 0.8804 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.006733, allocations: 9.719 kB / 0.8804 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.006913, allocations: 318.8 kB / 0.8807 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.006999, allocations: 15.92 kB / 0.8807 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.007082, allocations: 24 kB / 0.8807 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.007259, allocations: 36.83 kB / 0.8807 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007261, allocations: 0 / 0.8807 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.007472, allocations: 65.66 kB / 0.8808 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.007488, allocations: 4 kB / 0.8808 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.007495, allocations: 3.938 kB / 0.8808 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.007512, allocations: 4.094 kB / 0.8808 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.007605, allocations: 11.98 kB / 0.8808 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.00761, allocations: 0 / 0.8808 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.007661, allocations: 7.938 kB / 0.8808 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007668, allocations: 3.938 kB / 0.8808 GB, free: 1.879 MB / 0.7917 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.579e-05/0.007763, allocations: 117.8 kB / 0.881 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.007789, allocations: 3.953 kB / 0.881 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.008036, allocations: 76.91 kB / 0.881 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008039, allocations: 0 / 0.881 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.008044, allocations: 0 / 0.881 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008047, allocations: 0 / 0.881 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.00822, allocations: 105.3 kB / 0.8811 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008221, allocations: 0 / 0.8811 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.008283, allocations: 8 kB / 0.8811 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.008288, allocations: 4 kB / 0.8811 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008295, allocations: 192 / 0.8811 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.008303, allocations: 7.922 kB / 0.8811 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008304, allocations: 32 / 0.8811 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.008579, allocations: 167.5 kB / 0.8813 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.008593, allocations: 11.98 kB / 0.8813 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008605, allocations: 0 / 0.8813 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.008686, allocations: 7.938 kB / 0.8813 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.00873, allocations: 3.984 kB / 0.8813 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.008733, allocations: 0 / 0.8813 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.008789, allocations: 83.28 kB / 0.8814 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.008789, allocations: 0 / 0.8814 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002295/0.009018, allocations: 8.031 kB / 0.8814 GB, free: 1.223 MB / 0.7917 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.0001409/0.009159, allocations: 91.25 kB / 0.8815 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.009381, allocations: 43.89 kB / 0.8815 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.009386, allocations: 4 kB / 0.8816 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.009477, allocations: 19.98 kB / 0.8816 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.009781, allocations: 6.156 kB / 0.8816 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.01014, allocations: 109.4 kB / 0.8817 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.74e-05/0.01022, allocations: 59.34 kB / 0.8817 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.01025, allocations: 4 kB / 0.8817 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.01028, allocations: 8.5 kB / 0.8817 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/0.01028, allocations: 0 / 0.8817 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of Templates: time 0.00313/0.01341, allocations: 488.7 kB / 0.8822 GB, free: 368 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.290012651938014]