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.001364/0.001364, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001808/0.001808, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.275/3.275, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="cs",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.00206/0.00206, allocations: 63.06 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 176.1 MB / 1.327 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00187/0.3617, allocations: 0.6818 MB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3628, allocations: 0.8787 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.3628, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.3628, allocations: 3.938 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.3629, allocations: 7.984 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.363, allocations: 11.94 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.3631, allocations: 23.98 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.3632, allocations: 7.984 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.3632, allocations: 11.88 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.3633, allocations: 11.98 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3633, allocations: 3.938 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.3633, allocations: 8 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.3633, allocations: 4 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.3634, allocations: 15.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.931e-05/0.3634, allocations: 20.19 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3634, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3634, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.3634, allocations: 0 / 1.328 GB, free: 208 kB / 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.0004256/0.3639, allocations: 258.3 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3639, allocations: 12.03 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.232e-05/0.3639, allocations: 4.188 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.3639, allocations: 30.75 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.907e-05/0.364, allocations: 0.9375 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3641, allocations: 114.5 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-06/0.3641, allocations: 384 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3641, allocations: 4.375 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3642, allocations: 57.91 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3643, allocations: 0 / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3643, allocations: 4 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3643, allocations: 8 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.3644, allocations: 27.97 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.3647, allocations: 223.9 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3649, allocations: 38.5 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.365, allocations: 24.91 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.365, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.365, allocations: 34.5 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.365, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.3653, allocations: 81.64 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3654, allocations: 55.53 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.3655, allocations: 101.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3655, allocations: 25.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3655, allocations: 84.14 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3656, allocations: 3.953 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.3656, allocations: 17.66 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3657, allocations: 318.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.3658, allocations: 19.98 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3659, allocations: 11.98 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.366, allocations: 44.75 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.366, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.3662, allocations: 61.77 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3662, allocations: 10.34 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3662, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3663, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.3663, allocations: 11.98 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3663, allocations: 3.938 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.3664, allocations: 11.98 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.34 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 9.373e-05/0.3665, allocations: 118.2 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3665, allocations: 7.953 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.3665, allocations: 11.25 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3665, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3665, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3665, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3667, allocations: 140.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3667, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.3668, allocations: 7.984 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3668, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.3668, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3668, allocations: 8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3668, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.367, allocations: 163.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.367, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.367, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.3671, allocations: 7.984 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3671, allocations: 4.031 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3672, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.3672, allocations: 75.47 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3672, allocations: 3.938 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002047/0.3674, allocations: 4 kB / 1.331 GB, free: 13.71 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.0005568/0.368, allocations: 0.7029 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3682, allocations: 35.91 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3682, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.3683, allocations: 15.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3686, allocations: 16.22 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.369, allocations: 131.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3693, allocations: 0.6729 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.3693, allocations: 3.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3694, allocations: 15.42 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3694, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.3914, allocations: 1.392 MB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.75, allocations: 10.59 kB / 1.333 GB, free: 10.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.824497340014204]