Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001786/0.001786, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002321/0.002321, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 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.292/3.292, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002063/0.002063, allocations: 71.86 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002027/0.3506, allocations: 0.6701 MB / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3522, allocations: 0.8709 MB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.3523, allocations: 0 / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.3523, allocations: 3.938 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.3524, allocations: 11.91 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3526, allocations: 12 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.3527, allocations: 23.92 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3528, allocations: 8 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.3529, allocations: 7.984 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.3529, allocations: 11.94 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.353, allocations: 4 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.353, allocations: 0 / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.353, allocations: 7.984 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.353, allocations: 11.92 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3532, allocations: 24.12 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3532, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3532, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3532, allocations: 0 / 1.327 GB, free: 0.6523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005636/0.3537, allocations: 264.2 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3538, allocations: 12.03 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3538, allocations: 38.75 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.3539, allocations: 0.9375 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.354, allocations: 114.5 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.354, allocations: 4.375 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.354, allocations: 384 / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3543, allocations: 50.19 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3543, allocations: 3.938 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3543, allocations: 3.984 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3543, allocations: 0 / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3545, allocations: 35.97 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3549, allocations: 212.1 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3551, allocations: 42.44 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.3551, allocations: 16.91 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3552, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.3552, allocations: 30.56 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3552, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.3556, allocations: 89.58 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3557, allocations: 51.41 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3558, allocations: 101.8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3558, allocations: 29.64 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.3558, allocations: 84.14 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.3559, allocations: 3.953 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.3559, allocations: 17.72 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3561, allocations: 319 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.3561, allocations: 15.98 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.3562, allocations: 19.92 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3564, allocations: 36.81 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3564, allocations: 3.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.3566, allocations: 65.73 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3566, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3566, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3566, allocations: 4 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.3567, allocations: 16.11 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3567, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.3567, allocations: 7.984 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3567, allocations: 0 / 1.328 GB, free: 14.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.921e-05/0.3568, allocations: 118.2 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3569, allocations: 11.97 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3569, allocations: 7.312 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3569, allocations: 4 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3569, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3569, allocations: 3.984 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3571, allocations: 120.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3571, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.3571, allocations: 11.98 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3571, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3571, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3571, allocations: 8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3571, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3574, allocations: 163.4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.3574, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3574, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.3575, allocations: 11.98 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3575, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3575, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.3576, allocations: 87.3 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002214/0.3578, allocations: 4 kB / 1.329 GB, free: 14.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005581/0.3584, allocations: 0.6967 MB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.3586, allocations: 39.89 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3586, allocations: 4.094 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.3587, allocations: 23.92 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3589, allocations: 6.25 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3594, allocations: 123.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.84e-05/0.3594, allocations: 63.34 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.3595, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.3595, allocations: 7.438 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3595, allocations: 4.062 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.3894, allocations: 1.8 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.9, allocations: 2.688 kB / 1.332 GB, free: 11.45 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.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_Reals_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.85755908396095]