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.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.0008135/0.0008135, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008195/0.0008195, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8639/0.8639, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.745e-06/2.745e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.172e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001756/0.001778, allocations: 0.698 MB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.002528, allocations: 0.8587 MB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.002567, allocations: 0 / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.002594, allocations: 3.938 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.002657, allocations: 11.98 kB / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002781, allocations: 23.91 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.002847, allocations: 47.86 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.002937, allocations: 11.97 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.003003, allocations: 23.98 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.00306, allocations: 23.91 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.003084, allocations: 4 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.003093, allocations: 4 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.003109, allocations: 7.984 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.003131, allocations: 11.98 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.003218, allocations: 59.78 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00322, allocations: 4 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003222, allocations: 0 / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.003226, allocations: 0 / 0.9522 GB, free: 1.645 MB / 0.9011 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.0003636/0.003589, allocations: 279.9 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.003625, allocations: 8.031 kB / 0.9525 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.003654, allocations: 38.75 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.003677, allocations: 0.9375 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.003779, allocations: 109.8 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.003797, allocations: 8.375 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.003809, allocations: 4.375 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.003992, allocations: 73.95 kB / 0.9527 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004003, allocations: 3.938 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004013, allocations: 0 / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.004017, allocations: 0 / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.004179, allocations: 55.89 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.004572, allocations: 255.8 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.004751, allocations: 70.55 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.004838, allocations: 32.91 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.004855, allocations: 0 / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.004881, allocations: 38.5 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.004882, allocations: 0 / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0003509/0.005233, allocations: 109.8 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.005265, allocations: 51.41 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.005334, allocations: 110 kB / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.005348, allocations: 25.7 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.005395, allocations: 88.14 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.005439, allocations: 11.89 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.005475, allocations: 17.72 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.005598, allocations: 318.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.005674, allocations: 27.97 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.005725, allocations: 32.02 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.00583, allocations: 60.75 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005832, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.005966, allocations: 81.66 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005977, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005981, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.005992, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.006073, allocations: 15.98 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.006078, allocations: 3.984 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.00611, allocations: 8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006116, allocations: 4 kB / 0.9541 GB, free: 15.54 MB / 0.9167 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.621e-05/0.006172, allocations: 121.7 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.006187, allocations: 3.953 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.006207, allocations: 8 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006209, allocations: 4 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006213, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006217, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.006336, allocations: 140.6 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006337, allocations: 3.938 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.006376, allocations: 19.98 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006377, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006384, allocations: 3.984 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006384, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006385, allocations: 3.938 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.006545, allocations: 188 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.006552, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006562, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.006607, allocations: 15.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.006652, allocations: 11.92 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.006657, allocations: 8 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.006684, allocations: 83.28 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006684, allocations: 0 / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00014/0.006824, allocations: 8 kB / 0.9547 GB, free: 14.86 MB / 0.9167 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.0003661/0.00719, allocations: 0.7163 MB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.007346, allocations: 64.12 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007347, allocations: 0 / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.007406, allocations: 36.05 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.007608, allocations: 3.938 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.008637, allocations: 1.322 MB / 0.9568 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.008682, allocations: 63.34 kB / 0.9569 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.008717, allocations: 7.984 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.008769, allocations: 20.44 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.008769, allocations: 0 / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02321, allocations: 2.535 MB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.888, allocations: 3.938 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.891106315888464]