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.001003/0.001003, allocations: 98.88 kB / 16.02 MB, free: 76 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.001579/0.001579, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 11.28 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3359, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.0009115/0.3368, allocations: 404.5 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.3378, allocations: 0.8001 MB / 1.061 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.3379, allocations: 0 / 1.061 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.3379, allocations: 7.984 kB / 1.061 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.338, allocations: 3.938 kB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.3381, allocations: 0 / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.3382, allocations: 19.98 kB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3383, allocations: 7.938 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.3384, allocations: 11.94 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.3385, allocations: 11.98 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3385, allocations: 0 / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.3385, allocations: 0 / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3385, allocations: 11.92 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.3386, allocations: 33.69 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.864e-05/0.3386, allocations: 15.97 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3386, allocations: 0 / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3387, allocations: 3.938 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3387, allocations: 0 / 1.061 GB, free: 3.641 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.0004364/0.3391, allocations: 339.8 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3392, allocations: 11.97 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3392, allocations: 4.938 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3393, allocations: 172.2 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3393, allocations: 384 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3394, allocations: 384 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3396, allocations: 58.23 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3396, allocations: 8.125 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3396, allocations: 3.938 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3396, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.3398, allocations: 43.95 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.3402, allocations: 245 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3403, allocations: 42.5 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3404, allocations: 36.89 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3404, allocations: 3.938 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3405, allocations: 34.5 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3405, allocations: 0 / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004046/0.3409, allocations: 101.6 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3409, allocations: 51.41 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.3411, allocations: 97.86 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3411, allocations: 25.7 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.3411, allocations: 84.12 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3412, allocations: 7.906 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3412, allocations: 13.84 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3414, allocations: 314.8 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.3415, allocations: 19.98 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.3416, allocations: 27.91 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3417, allocations: 48.89 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3417, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002285/0.342, allocations: 85.59 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.342, allocations: 5.562 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.342, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.342, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.3421, allocations: 8 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3422, allocations: 7.922 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.3422, allocations: 12.03 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3422, allocations: 0 / 1.062 GB, free: 1.539 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.3423, allocations: 117.7 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3424, allocations: 7.906 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.3426, allocations: 84.77 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3426, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3426, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3427, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3428, allocations: 157.6 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3428, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.3429, allocations: 11.98 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3429, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3429, allocations: 8.031 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3429, allocations: 4 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3429, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3432, allocations: 179.4 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3432, allocations: 77.3 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3433, allocations: 4 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3434, allocations: 11.97 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3434, allocations: 4 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3434, allocations: 4 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.3434, allocations: 83.2 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3435, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002134/0.3437, allocations: 4 kB / 1.063 GB, free: 0.6992 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 (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.0001636/0.3438, allocations: 103.3 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3441, allocations: 47.95 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3441, allocations: 4.062 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.3442, allocations: 27.92 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3445, allocations: 10.41 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3448, allocations: 138.5 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3451, allocations: 0.6771 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3451, allocations: 7.438 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3451, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.001879/0.347, allocations: 0.5386 MB / 1.065 GB, free: 15.08 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/jenkins1/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