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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002015/0.002015, allocations: 108 kB / 15.61 MB, free: 152 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.00206/0.002061, allocations: 196 kB / 16.53 MB, free: 6.664 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7959, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002421/0.7984, allocations: 0.6629 MB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.7996, allocations: 0.8001 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.7997, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.7998, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.7999, allocations: 4 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.8, allocations: 11.94 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.8001, allocations: 19.98 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.8002, allocations: 7.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.8003, allocations: 15.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.8003, allocations: 3.984 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.8004, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.8004, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.8004, allocations: 11.94 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.8004, allocations: 8 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.8005, allocations: 23.91 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8006, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8006, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8006, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 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.0005118/0.8011, allocations: 337.4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8011, allocations: 8.031 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.8012, allocations: 0.9375 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8013, allocations: 176.3 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8014, allocations: 8.359 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.8014, allocations: 384 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.8016, allocations: 50.23 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8016, allocations: 192 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8016, allocations: 3.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8016, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.8018, allocations: 35.91 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.8022, allocations: 249 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.8024, allocations: 38.5 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.8025, allocations: 24.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.8025, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8025, allocations: 42.48 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8025, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.8029, allocations: 81.59 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.803, allocations: 55.34 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.8031, allocations: 97.84 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.8031, allocations: 29.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.8032, allocations: 88.27 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.8032, allocations: 7.844 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.8032, allocations: 13.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8034, allocations: 322.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.8035, allocations: 11.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.8036, allocations: 15.98 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.8037, allocations: 48.81 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8037, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.804, allocations: 65.61 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.804, allocations: 6.031 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.804, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.804, allocations: 3.984 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.8041, allocations: 12.03 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8041, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.8042, allocations: 7.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.8042, allocations: 0 / 1.021 GB, free: 14.86 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 9.812e-05/0.8043, allocations: 113.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.8043, allocations: 7.906 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.8046, allocations: 72.72 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8046, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8046, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8046, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.8048, allocations: 157.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8048, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.8049, allocations: 7.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8049, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.8049, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8049, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8049, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.8052, allocations: 167.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.8053, allocations: 81.05 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8053, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.8054, allocations: 8.172 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.8054, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.8054, allocations: 8.016 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.8055, allocations: 79.28 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8055, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002163/0.8057, allocations: 4 kB / 1.021 GB, free: 14.04 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.0001796/0.8059, allocations: 103.2 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.8062, allocations: 35.91 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8062, allocations: 4.062 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.8063, allocations: 27.91 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.8066, allocations: 7.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.807, allocations: 109.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.8073, allocations: 0.6729 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.8074, allocations: 4.062 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.8074, allocations: 15.42 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8074, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.003138/0.8106, allocations: 436 kB / 1.023 GB, free: 12.59 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=400 -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/jenkins/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