Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_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_10_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.001447/0.001447, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001596/0.001596, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.345/1.345, 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 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 64.44 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3227, allocations: 151.7 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001731/0.3245, allocations: 0.6554 MB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.3253, allocations: 0.8508 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.3253, allocations: 4 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3254, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.3254, allocations: 7.922 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.698e-05/0.3255, allocations: 11.98 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.3256, allocations: 27.86 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.3256, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.3257, allocations: 11.94 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.3257, allocations: 15.92 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3258, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.3258, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.3258, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3258, allocations: 19.91 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.084e-05/0.3259, allocations: 15.97 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3259, allocations: 0 / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.198e-06/0.3259, allocations: 0 / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3259, allocations: 3.938 kB / 1.02 GB, free: 8.223 MB / 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.0003825/0.3263, allocations: 339.5 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3263, allocations: 12.92 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.3264, allocations: 8.781 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.3265, allocations: 168.3 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3265, allocations: 384 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3265, allocations: 4.375 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3267, allocations: 50.22 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3267, allocations: 192 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3267, allocations: 11.94 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3267, allocations: 0 / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3268, allocations: 35.95 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.3271, allocations: 244.9 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3273, allocations: 42.53 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.3274, allocations: 20.91 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3274, allocations: 4 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3274, allocations: 30.56 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3274, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003055/0.3277, allocations: 89.67 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3278, allocations: 51.41 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.3278, allocations: 101.8 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3279, allocations: 25.7 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.3279, allocations: 80.14 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3279, allocations: 7.906 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.328, allocations: 13.72 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.3281, allocations: 310.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.3281, allocations: 28 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.3282, allocations: 11.98 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3283, allocations: 36.83 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3284, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.3285, allocations: 81.5 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3286, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3286, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3286, allocations: 3.938 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.3287, allocations: 15.98 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3287, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3287, allocations: 7.938 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3287, allocations: 3.984 kB / 1.022 GB, free: 6.188 MB / 0.795 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.193e-05/0.3288, allocations: 114.5 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3288, allocations: 4 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.3289, allocations: 7.125 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3289, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3289, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3289, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.329, allocations: 161.6 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.329, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.3291, allocations: 12 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3291, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3291, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3291, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3291, allocations: 3.984 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3293, allocations: 159.4 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.3294, allocations: 81.09 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3294, allocations: 4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.3295, allocations: 12.03 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3295, allocations: 3.984 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3295, allocations: 0 / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.3296, allocations: 83.45 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3296, allocations: 0 / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002088/0.3298, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 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.0001186/0.3299, allocations: 95.25 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3301, allocations: 51.89 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3301, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.3302, allocations: 15.98 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3304, allocations: 3.938 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.3307, allocations: 118 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3309, allocations: 0.6808 MB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.3309, allocations: 0 / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.331, allocations: 11.44 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.331, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of Templates: time 0.002178/0.3332, allocations: 435.5 kB / 1.024 GB, free: 4 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches