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.001774/0.001774, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002535/0.002535, allocations: 215.4 kB / 22.25 MB, free: 5.098 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.347/3.347, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002057/0.002057, allocations: 69.52 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4529, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002639/0.4555, allocations: 0.6657 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4572, allocations: 0.8475 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.4573, allocations: 3.938 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.4573, allocations: 4 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.4574, allocations: 7.922 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.4577, allocations: 8 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4578, allocations: 23.92 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4579, allocations: 7.984 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.458, allocations: 11.94 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.458, allocations: 11.92 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.4581, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.4581, allocations: 4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.4581, allocations: 7.984 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.4582, allocations: 15.94 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.4583, allocations: 24.19 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.4583, allocations: 7.922 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4583, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.4584, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 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.0005306/0.4589, allocations: 258.4 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4589, allocations: 8.031 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.459, allocations: 30.75 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4591, allocations: 8.891 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4592, allocations: 106.5 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4592, allocations: 4.375 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.4593, allocations: 8.375 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4595, allocations: 46.23 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4595, allocations: 7.875 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4595, allocations: 4 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4595, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.4598, allocations: 35.95 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.4601, allocations: 212 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4603, allocations: 42.48 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.4604, allocations: 20.91 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4604, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/0.4605, allocations: 38.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4605, allocations: 3.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003748/0.4608, allocations: 81.73 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4609, allocations: 55.41 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.461, allocations: 101.8 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.461, allocations: 25.7 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.4611, allocations: 84.09 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.4611, allocations: 7.953 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4611, allocations: 13.72 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4613, allocations: 314.8 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.4614, allocations: 15.97 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.4615, allocations: 23.95 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4616, allocations: 36.83 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4616, allocations: 3.938 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.4618, allocations: 65.66 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4618, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4618, allocations: 3.938 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4619, allocations: 8.094 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.462, allocations: 11.98 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.462, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.462, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.462, allocations: 3.984 kB / 1.367 GB, free: 10.55 MB / 1.061 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.00012/0.4621, allocations: 121.7 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4622, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.4624, allocations: 72.97 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4624, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4624, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4624, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.4626, allocations: 128.7 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4626, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.4627, allocations: 15.98 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4627, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4627, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4627, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4627, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.4629, allocations: 171.6 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.463, allocations: 3.984 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.463, allocations: 4 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.4631, allocations: 11.98 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4631, allocations: 0 / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4631, allocations: 0 / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.4632, allocations: 79.28 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4632, allocations: 0 / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000208/0.4634, allocations: 11.97 kB / 1.367 GB, free: 9.859 MB / 1.061 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.0006489/0.464, allocations: 0.7 MB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.4642, allocations: 31.97 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4642, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.4643, allocations: 28.06 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.4646, allocations: 1.203 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.4651, allocations: 135.9 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.598e-05/0.4652, allocations: 71.22 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.4652, allocations: 0 / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.4652, allocations: 7.438 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4652, allocations: 0 / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.4976, allocations: 1.82 MB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.87, allocations: 9.812 kB / 1.37 GB, free: 7.109 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.069094357080758]