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.001/0.001, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 183.1 kB / 16.92 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.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.626/2.626, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 15.98 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6222, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.0008081/0.6231, allocations: 406.3 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.624, allocations: 0.8001 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.6241, allocations: 4 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.6241, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.6242, allocations: 3.938 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.6243, allocations: 11.92 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.6244, allocations: 16 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.6245, allocations: 7.984 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.6245, allocations: 11.92 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.6246, allocations: 11.98 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.6246, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.6246, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.6247, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.6247, allocations: 37.64 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.701e-05/0.6248, allocations: 11.97 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6248, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6248, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.6248, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 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.0004134/0.6252, allocations: 349.4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6253, allocations: 11.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.6253, allocations: 4.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.6254, allocations: 168.3 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6255, allocations: 4.375 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.6255, allocations: 384 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.6257, allocations: 58.23 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6257, allocations: 4.188 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6257, allocations: 3.938 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.6257, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.6259, allocations: 43.91 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.6263, allocations: 253 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6264, allocations: 42.5 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.6265, allocations: 28.91 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.6266, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6266, allocations: 30.56 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6266, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.627, allocations: 101.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.627, allocations: 51.41 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.6271, allocations: 101.8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6271, allocations: 25.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.6272, allocations: 88.14 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6272, allocations: 7.844 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.6272, allocations: 9.719 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6273, allocations: 318.9 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.6274, allocations: 23.98 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.6275, allocations: 15.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.6277, allocations: 52.83 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6277, allocations: 7.938 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002119/0.6279, allocations: 85.59 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.628, allocations: 4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.628, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.628, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.6281, allocations: 11.98 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6281, allocations: 3.984 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.6282, allocations: 16.02 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.6282, allocations: 3.938 kB / 1.027 GB, free: 12.38 MB / 0.7794 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.851e-05/0.6282, allocations: 113.8 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.6283, allocations: 3.906 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.6285, allocations: 88.72 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.6285, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6285, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6285, allocations: 192 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6287, allocations: 161.6 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6287, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.6288, allocations: 8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.6288, allocations: 7.969 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.6288, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6288, allocations: 4.031 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6288, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.6291, allocations: 175.4 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.6291, allocations: 81.14 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.6292, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.6293, allocations: 7.984 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.6293, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.6293, allocations: 8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.6294, allocations: 79.28 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6294, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002074/0.6296, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 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.000133/0.6297, allocations: 111.2 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.6299, allocations: 43.97 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.6299, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.63, allocations: 24.05 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.6303, allocations: 15.86 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.6306, allocations: 130.6 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.6308, allocations: 0.6808 MB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.6309, allocations: 15.5 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6309, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.001736/0.6326, allocations: 0.5291 MB / 1.029 GB, free: 9.926 MB / 0.7794 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 -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