Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.535/2.535, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8349, allocations: 168.7 MB / 1.271 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001731/0.8367, allocations: 0.7091 MB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.8375, allocations: 0.8424 MB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.8375, allocations: 1.344 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.8375, allocations: 4.594 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.8376, allocations: 10.36 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.8377, allocations: 22.95 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.8378, allocations: 50.08 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.8379, allocations: 10.22 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.838, allocations: 22.75 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.838, allocations: 25.39 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8381, allocations: 4.062 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.8381, allocations: 4.844 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.8381, allocations: 12.33 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.8381, allocations: 14.11 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.8382, allocations: 52.72 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8382, allocations: 8.719 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8382, allocations: 3.938 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.8382, allocations: 0 / 1.273 GB, free: 6.469 MB / 0.9981 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.0004328/0.8387, allocations: 352.2 kB / 1.273 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8387, allocations: 10.03 kB / 1.273 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.8387, allocations: 36.16 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.8388, allocations: 3.094 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.881e-05/0.8389, allocations: 169.4 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.8389, allocations: 6 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.8389, allocations: 6.594 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8391, allocations: 68.92 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8391, allocations: 0 / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.8391, allocations: 0.7188 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8391, allocations: 0.6562 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.8393, allocations: 53.39 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.8397, allocations: 294 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.8399, allocations: 62.44 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.84, allocations: 32.78 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.84, allocations: 4.938 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.84, allocations: 35.44 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.84, allocations: 0 / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003958/0.8404, allocations: 113.5 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.8404, allocations: 51.41 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/0.8405, allocations: 106.8 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.8405, allocations: 29.7 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.8405, allocations: 89.62 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.8405, allocations: 17.33 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.8406, allocations: 16.38 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.8406, allocations: 321 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.8407, allocations: 25.98 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.8408, allocations: 25.45 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.841, allocations: 58.92 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.841, allocations: 4 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002233/0.8412, allocations: 80.77 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8412, allocations: 5.719 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8412, allocations: 3.984 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8413, allocations: 1.281 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8414, allocations: 16.16 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8414, allocations: 0.875 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.8414, allocations: 15.05 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.8415, allocations: 5.438 kB / 1.275 GB, free: 4.617 MB / 0.9981 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.082e-05/0.8415, allocations: 113.8 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.8415, allocations: 5.594 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.8416, allocations: 9 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8416, allocations: 1.062 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8416, allocations: 0.7969 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8416, allocations: 1.25 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.8417, allocations: 174 kB / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8417, allocations: 4 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.8418, allocations: 20.09 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8418, allocations: 1.031 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.8418, allocations: 0 / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8418, allocations: 1.031 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8418, allocations: 0 / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.842, allocations: 192.1 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.8421, allocations: 78.05 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.8421, allocations: 2.703 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.8422, allocations: 5.234 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.8422, allocations: 15.48 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8422, allocations: 2.375 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.8423, allocations: 92.58 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8423, allocations: 0 / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002151/0.8425, allocations: 7.25 kB / 1.276 GB, free: 3.934 MB / 0.9981 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.0004481/0.8429, allocations: 0.717 MB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.8432, allocations: 65.39 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8432, allocations: 4 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.8433, allocations: 28.02 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.8436, allocations: 7.266 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.8449, allocations: 1.322 MB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.8452, allocations: 0.6914 MB / 1.279 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.8453, allocations: 4.312 kB / 1.279 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.8453, allocations: 17.62 kB / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.8453, allocations: 0 / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.871, allocations: 1.81 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.73, allocations: 4.719 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! Error: Could not read variable abs1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv. Warning: Get data of variable abs1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.109113233003882]