Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001766/0.001766, allocations: 99.75 kB / 18.95 MB, free: 2.672 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.001699/0.001699, allocations: 216.8 kB / 22.25 MB, free: 5.254 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.809 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.253/3.253, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.Acos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_12_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.002919/0.002919, allocations: 70.42 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3675, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002012/0.3695, allocations: 0.6686 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3706, allocations: 0.8515 MB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.3707, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.3707, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.3707, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3709, allocations: 15.98 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.371, allocations: 23.92 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3711, allocations: 7.984 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.3712, allocations: 11.83 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.3712, allocations: 11.98 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3713, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.3713, allocations: 4 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.3713, allocations: 7.938 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3714, allocations: 11.98 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3715, allocations: 36.05 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3715, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3715, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3715, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 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.0004567/0.372, allocations: 262.3 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.372, allocations: 8.031 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.372, allocations: 34.75 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3721, allocations: 8.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3723, allocations: 110.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3723, allocations: 384 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3723, allocations: 4.375 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3725, allocations: 50.23 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3725, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3725, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3725, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3727, allocations: 35.91 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.373, allocations: 224 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3732, allocations: 38.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.3733, allocations: 16.91 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3733, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.3733, allocations: 42.55 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3733, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.3737, allocations: 81.53 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3737, allocations: 63.33 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.3738, allocations: 97.86 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3738, allocations: 25.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.3739, allocations: 84.14 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3739, allocations: 7.953 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.374, allocations: 13.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3741, allocations: 314.8 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.3742, allocations: 16.11 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.3743, allocations: 15.98 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3744, allocations: 48.75 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3744, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.3746, allocations: 61.67 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3746, allocations: 8.078 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3746, allocations: 8 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3747, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3747, allocations: 8 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3748, allocations: 3.984 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.3748, allocations: 7.984 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3748, allocations: 0 / 1.329 GB, free: 13.92 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.736e-05/0.3749, allocations: 114.3 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3749, allocations: 3.953 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3752, allocations: 76.91 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3752, allocations: 7.984 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3752, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3752, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3754, allocations: 124.7 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3754, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.3754, allocations: 11.98 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3754, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3754, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3754, allocations: 4.031 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3754, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3757, allocations: 167.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.3757, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3757, allocations: 3.984 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.3758, allocations: 7.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3759, allocations: 3.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3759, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.3759, allocations: 83.28 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3759, allocations: 4.031 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002124/0.3761, allocations: 4 kB / 1.33 GB, free: 13.23 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.0005767/0.3767, allocations: 0.6967 MB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.3769, allocations: 39.89 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3769, allocations: 4.094 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.377, allocations: 15.98 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3773, allocations: 8 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.3777, allocations: 132.6 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.3778, allocations: 59.34 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3778, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.3779, allocations: 15.44 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3779, allocations: 4.062 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.4062, allocations: 1.844 MB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.66, allocations: 9.219 kB / 1.333 GB, free: 10.46 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.563465227984125]