Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 105.6 kB / 16.35 MB, free: 5.824 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.001512/0.001512, allocations: 190 kB / 17.29 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.12 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3039, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001746/0.3057, allocations: 0.6789 MB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.3066, allocations: 0.857 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.3066, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.3066, allocations: 3.938 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.3067, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.3068, allocations: 15.92 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.3069, allocations: 19.98 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.307, allocations: 8 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.3071, allocations: 15.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.3071, allocations: 4 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3071, allocations: 0 / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-06/0.3071, allocations: 7.938 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.3072, allocations: 11.97 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3072, allocations: 11.88 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.114e-05/0.3073, allocations: 19.97 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3073, allocations: 0 / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3073, allocations: 4 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3073, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 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.0003944/0.3077, allocations: 331.6 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3077, allocations: 8.031 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3078, allocations: 8.844 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3079, allocations: 168.3 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3079, allocations: 384 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3079, allocations: 4.375 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3081, allocations: 50.19 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3081, allocations: 4.188 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3081, allocations: 7.922 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3081, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3083, allocations: 35.84 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.3085, allocations: 240.9 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3087, allocations: 50.59 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.3088, allocations: 20.84 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3088, allocations: 3.984 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.3088, allocations: 34.56 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3088, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003133/0.3091, allocations: 89.58 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3092, allocations: 51.41 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.3092, allocations: 101.8 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3093, allocations: 25.7 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.3093, allocations: 84.14 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.3093, allocations: 3.906 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3094, allocations: 13.84 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.3095, allocations: 322.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.3095, allocations: 11.98 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.3096, allocations: 19.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3098, allocations: 36.77 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3098, allocations: 4.062 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.31, allocations: 73.5 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.31, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.31, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.31, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.3101, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3101, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.3102, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3102, allocations: 4.031 kB / 1.03 GB, free: 14.4 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 6.376e-05/0.3102, allocations: 121.7 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.3103, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.3103, allocations: 3.125 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3103, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3103, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3103, allocations: 3.938 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3105, allocations: 161.6 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3105, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.3105, allocations: 11.94 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3105, allocations: 7.984 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3106, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3106, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3106, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3108, allocations: 163.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.3108, allocations: 81.14 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.3108, allocations: 3.938 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3109, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.311, allocations: 3.984 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.311, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.311, allocations: 79.28 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.311, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002169/0.3112, allocations: 3.906 kB / 1.031 GB, free: 13.66 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.0001063/0.3113, allocations: 107.2 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3115, allocations: 35.95 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3116, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.3116, allocations: 19.98 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3119, allocations: 10.44 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.3121, allocations: 117.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3124, allocations: 0.6768 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.3124, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.3124, allocations: 7.438 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of SimCode: time 1.543e-06/0.3124, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of Templates: time 0.002162/0.3146, allocations: 437.8 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches