Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009146/0.0009146, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001507/0.001507, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9043/0.9043, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.763/1.763, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.97e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001468/0.001488, allocations: 0.6523 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.002265, allocations: 0.8354 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.002295, allocations: 4 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.002321, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.002379, allocations: 8 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002564, allocations: 23.78 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.002637, allocations: 23.92 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.002731, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.002802, allocations: 15.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.002834, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.002849, allocations: 7.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.002896, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002909, allocations: 7.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002926, allocations: 8 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.109e-05/0.003017, allocations: 23.94 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00302, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003021, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003024, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 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.0003047/0.003329, allocations: 262.3 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.003366, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.003392, allocations: 30.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.003449, allocations: 4.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.003517, allocations: 113.8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.003526, allocations: 384 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.003533, allocations: 384 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.003652, allocations: 50.23 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.003658, allocations: 192 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.003666, allocations: 4.375 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.003672, allocations: 8.062 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.003758, allocations: 35.89 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.004022, allocations: 216 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.004103, allocations: 42.59 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.004147, allocations: 16.91 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.004165, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.004185, allocations: 38.44 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004186, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.004399, allocations: 81.64 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.004428, allocations: 51.41 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.004485, allocations: 105.8 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004494, allocations: 25.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.004528, allocations: 80.14 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.004543, allocations: 7.953 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.004566, allocations: 13.72 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.004642, allocations: 310.8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.004689, allocations: 23.97 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.004723, allocations: 16.11 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.00481, allocations: 40.77 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004812, allocations: 3.938 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.004919, allocations: 77.59 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.004933, allocations: 4 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004938, allocations: 4.094 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.004951, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.005018, allocations: 11.98 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.005023, allocations: 0 / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.005047, allocations: 7.984 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005051, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 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 5.246e-05/0.005104, allocations: 105.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.005116, allocations: 7.938 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.005249, allocations: 80.86 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.00525, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.005254, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.005256, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.005354, allocations: 132.7 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005355, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.005379, allocations: 11.92 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005382, allocations: 3.938 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005388, allocations: 4 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005389, allocations: 0 / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00539, allocations: 4.031 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.005512, allocations: 159.5 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-06/0.005517, allocations: 4.125 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.005527, allocations: 0 / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.005565, allocations: 15.97 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.005598, allocations: 4 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.005599, allocations: 0 / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.005626, allocations: 79.28 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005626, allocations: 4.031 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001498/0.005775, allocations: 4 kB / 1.004 GB, free: 9.242 MB / 0.9636 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.0002907/0.006066, allocations: 0.6929 MB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.006182, allocations: 39.91 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006183, allocations: 96 / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.006224, allocations: 27.97 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.006428, allocations: 2.234 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.006746, allocations: 139.2 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.006787, allocations: 59.34 kB / 1.004 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.006805, allocations: 0 / 1.004 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.006837, allocations: 12.5 kB / 1.004 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.006838, allocations: 8 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02228, allocations: 1.963 MB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.814, allocations: 10.25 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.018064993433654]