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.001789/0.001789, 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.002347/0.002347, allocations: 221.1 kB / 23.05 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.902/2.902, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 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.001981/0.001981, allocations: 64.77 kB / 1.118 GB, free: 40.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3723, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002979/0.3752, allocations: 0.6827 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3767, allocations: 0.8745 MB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.3768, allocations: 0 / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.3768, allocations: 7.984 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.3769, allocations: 3.938 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.377, allocations: 4 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.3771, allocations: 27.92 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3772, allocations: 7.922 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.3773, allocations: 15.98 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.3774, allocations: 11.94 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3774, allocations: 0 / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3774, allocations: 4 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.3774, allocations: 3.984 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.3775, allocations: 11.94 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3776, allocations: 16.67 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3776, allocations: 3.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3776, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3776, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 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.000538/0.3781, allocations: 266.3 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.3782, allocations: 12.03 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.3782, allocations: 192 / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.3782, allocations: 38.69 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3782, allocations: 4.875 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.3785, allocations: 114.5 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3785, allocations: 384 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3785, allocations: 4.375 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3787, allocations: 53.98 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3787, allocations: 0 / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3787, allocations: 4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3787, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.379, allocations: 31.91 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3794, allocations: 219.9 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3796, allocations: 42.59 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3797, allocations: 24.91 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3798, allocations: 0 / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3798, allocations: 34.55 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3798, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004574/0.3803, allocations: 85.58 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3803, allocations: 55.41 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3804, allocations: 97.84 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3804, allocations: 25.7 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3805, allocations: 88.14 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3805, allocations: 3.953 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3806, allocations: 13.72 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3808, allocations: 323 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3809, allocations: 11.98 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.381, allocations: 15.98 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3812, allocations: 44.7 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3812, allocations: 0 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002504/0.3814, allocations: 69.72 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3814, allocations: 4 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3814, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3815, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3816, allocations: 11.98 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.3816, allocations: 7.984 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3816, allocations: 32 / 1.287 GB, free: 8.176 MB / 0.9825 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.749e-05/0.3817, allocations: 121.7 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.3818, allocations: 7.953 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.3818, allocations: 3.312 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3818, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3818, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3818, allocations: 0 / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.382, allocations: 140.7 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.382, allocations: 7.875 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.3821, allocations: 8 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3821, allocations: 0 / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3821, allocations: 7.984 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3821, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3821, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3824, allocations: 163.5 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.3825, allocations: 32 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3825, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3826, allocations: 4 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3826, allocations: 3.984 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3826, allocations: 4 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.3827, allocations: 79.28 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3827, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000329/0.383, allocations: 7.938 kB / 1.288 GB, free: 7.559 MB / 0.9825 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.0008241/0.3838, allocations: 0.7006 MB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3841, allocations: 35.95 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3841, allocations: 4.094 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3842, allocations: 23.92 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.3847, allocations: 4 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.3853, allocations: 131.3 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3857, allocations: 0.6729 MB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.3857, allocations: 0 / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.3858, allocations: 23.48 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3858, allocations: 0 / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.408, allocations: 1.399 MB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 7.625 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.88732992601581]