Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9166/0.9166, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.201e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001281/0.001303, allocations: 0.698 MB / 0.9817 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.002126, allocations: 0.8548 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.002167, allocations: 4 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.002196, allocations: 7.875 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.002264, allocations: 0 / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.002414, allocations: 23.91 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.002486, allocations: 43.92 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.002581, allocations: 15.97 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.002652, allocations: 23.92 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.002707, allocations: 23.97 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.00273, allocations: 4 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.002738, allocations: 4 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.002756, allocations: 15.92 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.002779, allocations: 11.98 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.914e-05/0.002868, allocations: 55.78 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002871, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002872, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002876, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 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.0003642/0.00324, allocations: 274.3 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003277, allocations: 16.03 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.003303, allocations: 30.75 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.003324, allocations: 4.938 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.003411, allocations: 117.7 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.003424, allocations: 4.375 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.003434, allocations: 4.359 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.003568, allocations: 69.97 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003575, allocations: 0 / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.003585, allocations: 4 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003591, allocations: 4 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.003703, allocations: 47.95 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.004034, allocations: 263.7 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.004175, allocations: 66.55 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.004232, allocations: 28.91 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.004248, allocations: 4 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.004266, allocations: 30.56 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004267, allocations: 4 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.004521, allocations: 109.6 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.004549, allocations: 51.41 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.004607, allocations: 109.8 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.004618, allocations: 25.7 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.004658, allocations: 92.06 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.004674, allocations: 11.91 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.004703, allocations: 13.72 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.00478, allocations: 330.8 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.004836, allocations: 19.98 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.004885, allocations: 27.91 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.004987, allocations: 56.81 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00499, allocations: 3.938 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.005123, allocations: 81.66 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.005137, allocations: 8 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.005142, allocations: 3.984 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.005154, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.005233, allocations: 11.98 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.005237, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.005268, allocations: 7.953 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005273, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 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 5.971e-05/0.005332, allocations: 121.8 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.005345, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.005368, allocations: 12.33 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00537, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005374, allocations: 256 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.005379, allocations: 3.984 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.00549, allocations: 148.6 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.005493, allocations: 3.984 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.005532, allocations: 15.92 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005533, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.005541, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005542, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005543, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.005703, allocations: 191.4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.00571, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005721, allocations: 4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.005766, allocations: 7.984 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.00581, allocations: 7.984 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.005815, allocations: 4 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.005844, allocations: 91.2 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.005844, allocations: 0 / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001529/0.005997, allocations: 12 kB / 0.9852 GB, free: 14 MB / 0.948 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.0003408/0.006338, allocations: 0.7162 MB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.006487, allocations: 51.95 kB / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006488, allocations: 0 / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.006549, allocations: 35.91 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.006785, allocations: 14.97 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.007755, allocations: 1.319 MB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.007796, allocations: 67.34 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.007829, allocations: 7.984 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.007877, allocations: 16.5 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.007878, allocations: 0 / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.02464, allocations: 2.541 MB / 0.9898 GB, free: 9.246 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.827, allocations: 14.08 kB / 0.9898 GB, free: 9.234 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable abs1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! Error: Could not read variable abs1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.007565047591925]