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.001358/0.001358, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001889/0.001889, allocations: 223.6 kB / 22.25 MB, free: 5.109 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.62 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3687, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002006/0.3708, allocations: 0.6875 MB / 1.326 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3718, allocations: 0.8666 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.3719, allocations: 0 / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.3719, allocations: 3.938 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.372, allocations: 3.938 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.3721, allocations: 23.97 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.3722, allocations: 39.92 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3723, allocations: 19.92 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.3724, allocations: 19.97 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.3725, allocations: 23.92 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3725, allocations: 4 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.3725, allocations: 4 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.3725, allocations: 19.86 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.3726, allocations: 19.91 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.3727, allocations: 44.09 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3727, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3727, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3727, allocations: 4 kB / 1.327 GB, free: 0.6172 MB / 1.014 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.0005069/0.3732, allocations: 274.3 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3732, allocations: 8.031 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3733, allocations: 38.69 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.3733, allocations: 8.891 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3734, allocations: 110.5 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3734, allocations: 8.297 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3735, allocations: 12.12 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3737, allocations: 69.59 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3737, allocations: 4 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3737, allocations: 4 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3737, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3739, allocations: 55.94 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.3744, allocations: 251.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3746, allocations: 62.48 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3747, allocations: 36.91 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3747, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3748, allocations: 30.56 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3748, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004293/0.3752, allocations: 105.6 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3752, allocations: 55.34 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.3753, allocations: 113.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3754, allocations: 25.7 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.3754, allocations: 88.12 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3754, allocations: 11.95 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.3755, allocations: 17.72 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3756, allocations: 322.8 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3757, allocations: 19.98 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.3758, allocations: 23.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.376, allocations: 56.81 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.376, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002444/0.3763, allocations: 85.61 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3763, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3763, allocations: 7.984 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3763, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3764, allocations: 11.98 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3764, allocations: 3.984 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.3765, allocations: 8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3765, allocations: 7.922 kB / 1.329 GB, free: 14.51 MB / 1.029 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 9.091e-05/0.3766, allocations: 118.3 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3766, allocations: 8.281 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3767, allocations: 8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3767, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3767, allocations: 3.984 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3767, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3768, allocations: 148.6 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3769, allocations: 3.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.3769, allocations: 11.98 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3769, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.377, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.377, allocations: 4.25 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.377, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3773, allocations: 183.4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.3773, allocations: 11.95 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3773, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.3774, allocations: 7.984 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3774, allocations: 11.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3774, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.3775, allocations: 95.2 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3775, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002227/0.3777, allocations: 8 kB / 1.329 GB, free: 13.81 MB / 1.029 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.0006479/0.3784, allocations: 0.7124 MB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3786, allocations: 47.95 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3786, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3788, allocations: 35.97 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3791, allocations: 8.062 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3807, allocations: 1.315 MB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.3808, allocations: 67.34 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.3808, allocations: 7.984 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3809, allocations: 19.44 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3809, allocations: 0 / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.409, allocations: 2.405 MB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 6.391 kB / 1.334 GB, free: 9.199 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.813201080076396]