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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001012/0.001012, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009824/0.0009821, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 10.81 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4092, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001265/0.4105, allocations: 392.7 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4116, allocations: 0.7924 MB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.4117, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.4117, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.4118, allocations: 11.92 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.412, allocations: 7.984 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.4121, allocations: 19.92 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4122, allocations: 8 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.4123, allocations: 4 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.4124, allocations: 11.92 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4124, allocations: 0 / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.4124, allocations: 4 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.4124, allocations: 4 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.4125, allocations: 29.64 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.4126, allocations: 11.97 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.4126, allocations: 3.984 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4126, allocations: 0 / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4126, allocations: 4 kB / 1.059 GB, free: 3.992 MB / 0.8106 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.000539/0.4132, allocations: 335.6 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4132, allocations: 8.031 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.4133, allocations: 7.984 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.4134, allocations: 166.9 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4135, allocations: 0 / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4135, allocations: 7.953 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4137, allocations: 61.61 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4137, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4137, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4137, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.4139, allocations: 43.97 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.4143, allocations: 252.9 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.4145, allocations: 42.5 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.4146, allocations: 32.91 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4146, allocations: 0 / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4146, allocations: 34.55 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4146, allocations: 4 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/0.415, allocations: 93.66 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.415, allocations: 55.39 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.4151, allocations: 97.8 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4151, allocations: 25.7 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.4152, allocations: 92.27 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.4152, allocations: 7.844 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4152, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4153, allocations: 314.8 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.4154, allocations: 23.98 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.4155, allocations: 19.98 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.503e-05/0.4156, allocations: 27.94 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4156, allocations: 0 / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.4158, allocations: 77.72 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4158, allocations: 4 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4158, allocations: 3.938 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4158, allocations: 0 / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.4159, allocations: 15.98 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4159, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.416, allocations: 12.02 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.416, allocations: 3.984 kB / 1.061 GB, free: 1.941 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.4161, allocations: 121.7 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.4161, allocations: 3.906 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.4164, allocations: 80.78 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4164, allocations: 0 / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4164, allocations: 0 / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4164, allocations: 0 / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.4166, allocations: 161.7 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4166, allocations: 7.953 kB / 1.061 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.4166, allocations: 8 kB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4166, allocations: 4.172 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4167, allocations: 4 kB / 1.061 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4167, allocations: 4.031 kB / 1.061 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4167, allocations: 0 / 1.061 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4169, allocations: 175.4 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.417, allocations: 85.06 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.417, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.4171, allocations: 7.984 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.4171, allocations: 8 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4171, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.4172, allocations: 79.28 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4172, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002108/0.4174, allocations: 4 kB / 1.062 GB, free: 1.105 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000195/0.4176, allocations: 105.9 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.4178, allocations: 43.97 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4178, allocations: 7.875 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.4179, allocations: 28.05 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4182, allocations: 3.938 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.4186, allocations: 112.5 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4189, allocations: 0.677 MB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.419, allocations: 4.062 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.419, allocations: 11.44 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.419, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of Templates: time 0.002555/0.4216, allocations: 351.9 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) 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) Reference file matches