Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") 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: 92.16 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.001651/0.001651, allocations: 173 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 14.97 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.0008669/0.3037, allocations: 400.6 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.3047, allocations: 0.8079 MB / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.3047, allocations: 0 / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.3047, allocations: 0 / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.3048, allocations: 3.938 kB / 1.061 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.3049, allocations: 7.984 kB / 1.061 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.305, allocations: 19.98 kB / 1.061 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.3051, allocations: 4 kB / 1.061 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.3052, allocations: 11.88 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.3052, allocations: 15.97 kB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3052, allocations: 0 / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.3053, allocations: 4 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3053, allocations: 7.938 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.3053, allocations: 25.7 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.13e-05/0.3054, allocations: 23.89 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3054, allocations: 3.938 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3054, allocations: 0 / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3054, allocations: 0 / 1.061 GB, free: 3.648 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.0004585/0.3059, allocations: 335.8 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3059, allocations: 19.95 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.306, allocations: 0.9375 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3061, allocations: 172.2 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3061, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3061, allocations: 4.375 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3063, allocations: 58.23 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3064, allocations: 192 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3064, allocations: 3.938 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3064, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3066, allocations: 47.89 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.307, allocations: 245 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3072, allocations: 46.5 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3073, allocations: 28.91 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3074, allocations: 3.984 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3074, allocations: 38.5 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3074, allocations: 0 / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004214/0.3078, allocations: 97.64 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3079, allocations: 51.41 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.308, allocations: 97.86 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.308, allocations: 29.7 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.308, allocations: 80.14 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3081, allocations: 4.031 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3081, allocations: 17.7 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3082, allocations: 318.8 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.3083, allocations: 15.98 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.3084, allocations: 23.98 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3086, allocations: 56.81 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3086, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002174/0.3088, allocations: 77.61 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3089, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3089, allocations: 7.984 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3089, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.309, allocations: 15.94 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.309, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.3091, allocations: 12.02 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3091, allocations: 0 / 1.062 GB, free: 1.547 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 7.894e-05/0.3092, allocations: 117.8 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3092, allocations: 7.844 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.3094, allocations: 84.72 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3095, allocations: 3.984 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3095, allocations: 0 / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3095, allocations: 0 / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3096, allocations: 161.6 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3097, allocations: 4 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.3097, allocations: 11.98 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3097, allocations: 0 / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3097, allocations: 4.031 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3098, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3098, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.31, allocations: 179.4 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.3101, allocations: 81.3 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3101, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.3102, allocations: 11.97 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3102, allocations: 8 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3102, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.3103, allocations: 83.27 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3103, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002117/0.3105, allocations: 8.031 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.0001471/0.3106, allocations: 95.25 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3109, allocations: 43.97 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3109, allocations: 4.062 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.311, allocations: 31.91 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3113, allocations: 11.88 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.3116, allocations: 130.5 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3119, allocations: 0.681 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.3119, allocations: 11.44 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3119, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.001824/0.3137, allocations: 0.5379 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches