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.001348/0.001348, 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.001614/0.001614, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.805 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.815/2.815, allocations: 476 MB / 0.7699 GB, free: 4.723 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",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.002177/0.002177, allocations: 66.73 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002355/0.3925, allocations: 0.6692 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3937, allocations: 0.8394 MB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.3938, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.3938, allocations: 3.938 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.3939, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3941, allocations: 19.92 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.3942, allocations: 15.98 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3943, allocations: 15.98 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.3943, allocations: 15.86 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.3944, allocations: 8 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3944, allocations: 0 / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.3945, allocations: 8 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.3945, allocations: 7.984 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.3945, allocations: 7.938 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3946, allocations: 37.09 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3947, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3947, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3947, allocations: 0 / 1.284 GB, free: 10.69 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.0004916/0.3951, allocations: 268.4 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3952, allocations: 8.031 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.3952, allocations: 30.75 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3953, allocations: 8.922 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3955, allocations: 102.5 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3955, allocations: 384 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3955, allocations: 4.375 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3957, allocations: 58.16 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3957, allocations: 3.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3957, allocations: 4 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3957, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3959, allocations: 31.97 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3963, allocations: 216 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3965, allocations: 42.44 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.3965, allocations: 28.83 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3966, allocations: 4 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3966, allocations: 34.56 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3966, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003647/0.397, allocations: 77.64 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.397, allocations: 55.41 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.3971, allocations: 93.86 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3971, allocations: 25.7 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.3972, allocations: 88.08 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3972, allocations: 20 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3972, allocations: 13.66 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3974, allocations: 318.8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3975, allocations: 11.98 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.3975, allocations: 19.97 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3977, allocations: 36.83 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3977, allocations: 8 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.3979, allocations: 65.66 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3979, allocations: 6.656 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3979, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3979, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.398, allocations: 11.98 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.398, allocations: 3.938 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.3981, allocations: 4 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3981, allocations: 4.031 kB / 1.286 GB, free: 8.82 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.702e-05/0.3982, allocations: 117.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3982, allocations: 3.953 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3985, allocations: 68.95 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3985, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3985, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3985, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3987, allocations: 132.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3987, allocations: 4.031 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.3987, allocations: 8 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3987, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3987, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3987, allocations: 3.984 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3987, allocations: 3.938 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.399, allocations: 159.5 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.399, allocations: 3.984 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.399, allocations: 8.031 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3991, allocations: 4 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3991, allocations: 3.984 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3991, allocations: 3.938 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.3992, allocations: 87.45 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3992, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002178/0.3994, allocations: 7.938 kB / 1.286 GB, free: 8.137 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.0006398/0.4001, allocations: 0.6968 MB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4003, allocations: 35.95 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4003, allocations: 0 / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.4004, allocations: 19.98 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.4007, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.4012, allocations: 143.9 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.4013, allocations: 59.36 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.4013, allocations: 0 / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.4013, allocations: 19.42 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4013, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.4307, allocations: 1.811 MB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 11.59 kB / 1.289 GB, free: 5.383 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable arcCos.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.55818298412487]