Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001334/0.001334, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002747/0.002747, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Reals.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_11_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.002249/0.002249, allocations: 73.61 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.24, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002388/1.243, allocations: 0.6801 MB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001469/1.244, allocations: 0.8773 MB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/1.244, allocations: 1.062 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/1.244, allocations: 4 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/1.244, allocations: 9.078 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/1.244, allocations: 9.359 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/1.245, allocations: 24.27 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.245, allocations: 3.5 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/1.245, allocations: 13.5 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/1.245, allocations: 9.641 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/1.245, allocations: 6 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/1.245, allocations: 2 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/1.245, allocations: 2.375 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/1.245, allocations: 18.56 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/1.245, allocations: 18.73 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.245, allocations: 4.734 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.245, allocations: 0 / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.245, allocations: 1.156 kB / 1.281 GB, free: 10.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005586/1.246, allocations: 335.6 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.246, allocations: 9.969 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.061e-05/1.246, allocations: 1.312 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/1.246, allocations: 39.41 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/1.246, allocations: 2.031 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.246, allocations: 171.8 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.246, allocations: 1.172 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/1.246, allocations: 2.594 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.246, allocations: 52.19 kB / 1.281 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.246, allocations: 0 / 1.281 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/1.246, allocations: 1.094 kB / 1.281 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.246, allocations: 3.938 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/1.246, allocations: 41.59 kB / 1.281 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/1.247, allocations: 249.5 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/1.247, allocations: 36.09 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/1.247, allocations: 22.97 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/1.247, allocations: 5.219 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.247, allocations: 32.7 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.247, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003891/1.247, allocations: 79.58 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.247, allocations: 52.38 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/1.248, allocations: 109.2 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.248, allocations: 25.7 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/1.248, allocations: 86.11 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/1.248, allocations: 5.875 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/1.248, allocations: 13.09 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.248, allocations: 317.5 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/1.248, allocations: 13.97 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/1.248, allocations: 18.12 kB / 1.282 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/1.248, allocations: 48.22 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.248, allocations: 0.75 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/1.248, allocations: 62.55 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.248, allocations: 5.219 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.248, allocations: 5.844 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.248, allocations: 0 / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/1.249, allocations: 9.094 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.249, allocations: 0.7031 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/1.249, allocations: 6.734 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/1.249, allocations: 1.25 kB / 1.282 GB, free: 8.844 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: 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 0.0001314/1.249, allocations: 114.4 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/1.249, allocations: 5.266 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/1.249, allocations: 15.77 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.249, allocations: 5.344 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.249, allocations: 0 / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.249, allocations: 1.797 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/1.249, allocations: 158.8 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.249, allocations: 4.906 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/1.249, allocations: 8.188 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.249, allocations: 1.125 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.249, allocations: 0 / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.249, allocations: 1.781 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.249, allocations: 4 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/1.249, allocations: 162.7 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/1.249, allocations: 82.66 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.249, allocations: 0.8438 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/1.25, allocations: 6.328 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/1.25, allocations: 6.328 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/1.25, allocations: 0.8125 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.132e-05/1.25, allocations: 84.73 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.25, allocations: 0 / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002123/1.25, allocations: 3.25 kB / 1.283 GB, free: 8.176 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: 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.0008188/1.251, allocations: 0.7004 MB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002913/1.251, allocations: 35.44 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.251, allocations: 0 / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/1.251, allocations: 20.34 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/1.251, allocations: 7.516 kB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/1.252, allocations: 140.5 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/1.252, allocations: 0.6804 MB / 1.285 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.713e-05/1.253, allocations: 1.094 kB / 1.285 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/1.253, allocations: 9.812 kB / 1.285 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.253, allocations: 0 / 1.285 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/1.271, allocations: 1.329 MB / 1.286 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.514, allocations: 5.875 kB / 1.286 GB, free: 6.219 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.09120520099532]