Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00121/0.00121, 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.001286/0.001286, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8701/0.8701, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.918e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001321/0.00134, allocations: 0.6902 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.002228, allocations: 0.8588 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.002268, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.002298, allocations: 3.938 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.002371, allocations: 3.938 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.002526, allocations: 27.89 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.002602, allocations: 51.8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.002705, allocations: 7.984 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.002779, allocations: 27.97 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.002836, allocations: 23.91 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.002859, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.002867, allocations: 8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.002885, allocations: 8 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.002909, allocations: 19.91 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.003003, allocations: 51.8 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003006, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003007, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003011, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 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.0004121/0.003423, allocations: 278.3 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.003468, allocations: 8.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.003503, allocations: 30.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.003529, allocations: 12.89 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.003946, allocations: 113.8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.003963, allocations: 4.375 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.003975, allocations: 4.375 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.00413, allocations: 65.97 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.00414, allocations: 4 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.00415, allocations: 3.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004156, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.00428, allocations: 63.88 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.004658, allocations: 248.7 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.004792, allocations: 62.55 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.004852, allocations: 36.91 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.004869, allocations: 3.938 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.004889, allocations: 30.56 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00489, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.005145, allocations: 109.6 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.005176, allocations: 55.41 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.005235, allocations: 109.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005245, allocations: 25.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.005288, allocations: 96.02 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.005305, allocations: 7.953 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005336, allocations: 17.72 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.005413, allocations: 318.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.005468, allocations: 23.98 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.005519, allocations: 35.91 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.00562, allocations: 52.81 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005622, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.005749, allocations: 85.55 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005762, allocations: 8 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005768, allocations: 0 / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005782, allocations: 7.984 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.005863, allocations: 11.98 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005868, allocations: 0 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.005899, allocations: 8 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.005905, allocations: 4 kB / 1.003 GB, free: 9.59 MB / 0.9636 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.941e-05/0.005964, allocations: 117.7 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.005977, allocations: 4 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.005998, allocations: 8 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005999, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.006005, allocations: 3.938 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006008, allocations: 4 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.00612, allocations: 144.8 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006121, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.006158, allocations: 15.97 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006159, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006168, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006168, allocations: 0 / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006169, allocations: 3.984 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.006351, allocations: 195.6 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.00636, allocations: 4 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006371, allocations: 0 / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.006416, allocations: 11.98 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.00647, allocations: 11.98 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006474, allocations: 0 / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.006508, allocations: 83.53 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006508, allocations: 4 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001419/0.00665, allocations: 11.94 kB / 1.004 GB, free: 8.898 MB / 0.9636 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.0003299/0.00698, allocations: 0.7202 MB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.007126, allocations: 55.89 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.007128, allocations: 0 / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.007191, allocations: 31.97 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.007387, allocations: 4 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.00838, allocations: 1.337 MB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.00843, allocations: 67.34 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.008466, allocations: 7.984 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.008519, allocations: 16.5 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.00852, allocations: 0 / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.02326, allocations: 2.54 MB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.887, allocations: 9.719 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! Error: Could not read variable abs1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.014421945437789]