Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001335/0.001335, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001634/0.001634, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.839/2.839, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",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.001953/0.001953, allocations: 63.84 kB / 1.118 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3969, allocations: 169.9 MB / 1.284 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002285/0.3992, allocations: 0.6827 MB / 1.285 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4005, allocations: 0.8553 MB / 1.286 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.4005, allocations: 0 / 1.286 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.4006, allocations: 3.938 kB / 1.286 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.4006, allocations: 0 / 1.286 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.4008, allocations: 23.91 kB / 1.286 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.4009, allocations: 20 kB / 1.286 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.401, allocations: 3.984 kB / 1.286 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.4011, allocations: 15.88 kB / 1.286 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.4011, allocations: 11.98 kB / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4012, allocations: 0 / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.4012, allocations: 7.938 kB / 1.286 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.4012, allocations: 8 kB / 1.286 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.4012, allocations: 7.938 kB / 1.286 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4014, allocations: 36.16 kB / 1.286 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4014, allocations: 0 / 1.286 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4014, allocations: 4 kB / 1.286 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4014, allocations: 0 / 1.286 GB, free: 2.082 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.0004841/0.4019, allocations: 258.3 kB / 1.286 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4019, allocations: 12.03 kB / 1.286 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.545e-05/0.4019, allocations: 4.188 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.402, allocations: 30.75 kB / 1.286 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.4021, allocations: 8.875 kB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4022, allocations: 106.5 kB / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4022, allocations: 8.375 kB / 1.286 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.4022, allocations: 384 / 1.286 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4024, allocations: 57.92 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4024, allocations: 0 / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4024, allocations: 0 / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4024, allocations: 0 / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.4026, allocations: 35.95 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.403, allocations: 227.9 kB / 1.287 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4031, allocations: 38.5 kB / 1.287 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.4032, allocations: 20.89 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4032, allocations: 0 / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.4033, allocations: 42.56 kB / 1.287 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4033, allocations: 0 / 1.287 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.4036, allocations: 77.58 kB / 1.287 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4037, allocations: 51.41 kB / 1.287 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4038, allocations: 101.9 kB / 1.287 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4038, allocations: 25.7 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4039, allocations: 88.25 kB / 1.287 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4039, allocations: 7.953 kB / 1.287 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4039, allocations: 17.66 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4041, allocations: 310.8 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.4042, allocations: 15.98 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.4043, allocations: 19.97 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4044, allocations: 44.83 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4044, allocations: 0 / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.4046, allocations: 65.66 kB / 1.287 GB, free: 248 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4046, allocations: 8 kB / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4046, allocations: 0 / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4046, allocations: 0 / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.4047, allocations: 7.984 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4047, allocations: 7.969 kB / 1.287 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.4048, allocations: 4 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4048, allocations: 4 kB / 1.287 GB, free: 216 kB / 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 0.0001025/0.4049, allocations: 113.8 kB / 1.288 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.4049, allocations: 7.891 kB / 1.288 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.4052, allocations: 73.16 kB / 1.288 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4052, allocations: 8.016 kB / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4052, allocations: 0 / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4052, allocations: 0 / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.4054, allocations: 128.7 kB / 1.288 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4054, allocations: 0 / 1.288 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.4054, allocations: 11.98 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4054, allocations: 0 / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4054, allocations: 4 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4054, allocations: 0 / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4054, allocations: 3.938 kB / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.4057, allocations: 167.5 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.4057, allocations: 4 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4057, allocations: 3.984 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.4058, allocations: 4 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4059, allocations: 0 / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.4059, allocations: 4.016 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.4059, allocations: 87.28 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000212/0.4061, allocations: 4 kB / 1.288 GB, free: 15.53 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.0006584/0.4068, allocations: 0.7006 MB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.407, allocations: 39.95 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.407, allocations: 0 / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.4071, allocations: 19.98 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4074, allocations: 2.656 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.4079, allocations: 148 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4082, allocations: 0.6768 MB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.4083, allocations: 0 / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.4083, allocations: 11.44 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.4083, allocations: 0 / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.4304, allocations: 1.41 MB / 1.291 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 16.66 kB / 1.291 GB, free: 12.57 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.501066927041393]