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.001661/0.001661, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002145/0.002145, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.86/2.86, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002288/0.002288, allocations: 64.19 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9348, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001726/0.9365, allocations: 0.6613 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008351/0.9373, allocations: 0.8431 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.9374, allocations: 0 / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.9374, allocations: 3.938 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.9374, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.9376, allocations: 16.7 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.9377, allocations: 23.2 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.9378, allocations: 10.72 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.9378, allocations: 14.19 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.9379, allocations: 9.859 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.9379, allocations: 2.875 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.065e-05/0.9379, allocations: 10.48 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.938, allocations: 6.344 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.938, allocations: 3.062 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.9381, allocations: 30.45 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.9381, allocations: 0 / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9381, allocations: 0 / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.9381, allocations: 0 / 1.156 GB, free: 32.21 MB / 1.076 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.0003407/0.9384, allocations: 260.9 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.9385, allocations: 11.05 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.9385, allocations: 3.5 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.9386, allocations: 113.1 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.9386, allocations: 384 / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.9386, allocations: 3.156 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.9388, allocations: 51.77 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9388, allocations: 192 / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9388, allocations: 7.875 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9388, allocations: 3.281 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.939, allocations: 34.55 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.9392, allocations: 195.5 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.9393, allocations: 35.59 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.9394, allocations: 21.7 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.9394, allocations: 11.88 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.9395, allocations: 37.28 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9395, allocations: 0 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.000323/0.9398, allocations: 80.59 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.9398, allocations: 51.41 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.9399, allocations: 98.92 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.9399, allocations: 28.8 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.9399, allocations: 87.38 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.9399, allocations: 7.938 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.9399, allocations: 12.59 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.94, allocations: 313.7 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.9401, allocations: 22.38 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.9401, allocations: 18.44 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.9403, allocations: 39.62 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9403, allocations: 2.844 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.9405, allocations: 65.66 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9405, allocations: 9.281 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9405, allocations: 4.094 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9405, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.9406, allocations: 8.906 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9406, allocations: 2.688 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.9406, allocations: 5.953 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.9406, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 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 4.825e-05/0.9407, allocations: 114.1 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.9407, allocations: 7.891 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.9409, allocations: 76.25 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9409, allocations: 6.484 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9409, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9409, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.516e-05/0.941, allocations: 105.7 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.941, allocations: 3.938 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.9411, allocations: 8.609 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.9411, allocations: 3.938 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.9411, allocations: 2.688 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.9411, allocations: 0 / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9411, allocations: 4.031 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.9413, allocations: 163.9 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.9413, allocations: 6.531 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.9413, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.9414, allocations: 8.953 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.9414, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.9414, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.9415, allocations: 84.03 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9415, allocations: 4.031 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002191/0.9417, allocations: 6.406 kB / 1.158 GB, free: 30.19 MB / 1.076 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 8.827e-05/0.9418, allocations: 95.06 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.942, allocations: 37.03 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.942, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.9421, allocations: 18.84 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.9424, allocations: 10.91 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.9426, allocations: 100.7 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.9426, allocations: 64.41 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.9427, allocations: 2.906 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.9427, allocations: 8.5 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9427, allocations: 0 / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of Templates: time 0.002619/0.9453, allocations: 472.6 kB / 1.158 GB, free: 29.82 MB / 1.076 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 -s ida -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: 9.154248924925923]