Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001545/0.001545, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.08 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002427/0.3211, allocations: 0.6994 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3226, allocations: 0.8312 MB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.3227, allocations: 0 / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3227, allocations: 7.938 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.3229, allocations: 7.938 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.323, allocations: 23.97 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3232, allocations: 43.86 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3233, allocations: 19.97 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.3234, allocations: 19.92 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.3235, allocations: 27.86 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.3235, allocations: 8 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3236, allocations: 4 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.3236, allocations: 11.92 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3237, allocations: 23.91 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3238, allocations: 39.81 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3238, allocations: 3.984 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.41e-07/0.3238, allocations: 0 / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3238, allocations: 0 / 1.02 GB, free: 8.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006598/0.3245, allocations: 359.6 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3245, allocations: 12.03 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3246, allocations: 4.938 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3248, allocations: 168.3 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3248, allocations: 4.375 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3248, allocations: 4.375 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.3251, allocations: 77.75 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3252, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3252, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3252, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.3255, allocations: 59.89 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.3261, allocations: 284.8 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.3264, allocations: 66.55 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3266, allocations: 36.91 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3266, allocations: 3.938 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3267, allocations: 34.56 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3267, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0005975/0.3273, allocations: 109.5 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3274, allocations: 55.41 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3275, allocations: 109.8 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3275, allocations: 25.7 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.3276, allocations: 88.12 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3276, allocations: 7.906 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3277, allocations: 17.72 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3279, allocations: 322.8 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.328, allocations: 23.98 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3282, allocations: 31.84 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.3285, allocations: 56.81 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3285, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003712/0.3289, allocations: 85.56 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3289, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.329, allocations: 7.984 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.329, allocations: 3.938 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3291, allocations: 11.98 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3292, allocations: 4 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.3293, allocations: 4.328 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3293, allocations: 3.938 kB / 1.022 GB, free: 6.535 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001473/0.3294, allocations: 117.8 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3295, allocations: 7.984 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.3295, allocations: 7.906 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3296, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3296, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3296, allocations: 4 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3299, allocations: 185.5 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3299, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.33, allocations: 11.98 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.33, allocations: 4 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.33, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3301, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3301, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3305, allocations: 183.4 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3306, allocations: 85.05 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3306, allocations: 4.25 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3308, allocations: 7.984 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.3309, allocations: 15.98 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3309, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.721e-05/0.331, allocations: 83.27 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.331, allocations: 0 / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003609/0.3313, allocations: 15.91 kB / 1.022 GB, free: 5.711 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000153/0.3315, allocations: 99.19 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.3319, allocations: 59.94 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3319, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3321, allocations: 35.86 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3325, allocations: 3.984 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.333, allocations: 152.8 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.3333, allocations: 0.6807 MB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.3334, allocations: 19.42 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.3334, allocations: 0 / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of Templates: time 0.003028/0.3365, allocations: 0.8067 MB / 1.024 GB, free: 3.793 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches