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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 192.4 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7635 GB, free: 10.9 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.108 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9851/0.9871, allocations: 168.7 MB / 1.272 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002206/0.9893, allocations: 0.6721 MB / 1.273 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.9904, allocations: 0.8156 MB / 1.274 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.9904, allocations: 0 / 1.274 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.9904, allocations: 3.938 kB / 1.274 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.9905, allocations: 11.94 kB / 1.274 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.9907, allocations: 11.97 kB / 1.274 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.9907, allocations: 15.94 kB / 1.274 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.9908, allocations: 15.98 kB / 1.274 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.435e-05/0.9909, allocations: 11.94 kB / 1.274 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.9909, allocations: 7.984 kB / 1.274 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.9909, allocations: 0 / 1.274 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.991, allocations: 4 kB / 1.274 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.991, allocations: 4 kB / 1.274 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.991, allocations: 7.938 kB / 1.274 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.9911, allocations: 30 kB / 1.274 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.9911, allocations: 7.984 kB / 1.274 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9911, allocations: 0 / 1.274 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9911, allocations: 0 / 1.274 GB, free: 2.914 MB / 0.9669 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.0005215/0.9916, allocations: 335.5 kB / 1.274 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9917, allocations: 8.031 kB / 1.274 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.9917, allocations: 30.75 kB / 1.274 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.9917, allocations: 8.891 kB / 1.274 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.9919, allocations: 164.3 kB / 1.275 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.9919, allocations: 4.375 kB / 1.275 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.9919, allocations: 4.375 kB / 1.275 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.9921, allocations: 54.17 kB / 1.275 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.9921, allocations: 3.938 kB / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.9921, allocations: 0 / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.9921, allocations: 0 / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.9923, allocations: 35.94 kB / 1.275 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.9927, allocations: 245 kB / 1.275 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.9928, allocations: 42.44 kB / 1.275 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.9929, allocations: 28.89 kB / 1.275 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.9929, allocations: 0 / 1.275 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9929, allocations: 34.56 kB / 1.275 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.9929, allocations: 7.875 kB / 1.275 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003707/0.9933, allocations: 81.64 kB / 1.275 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.9933, allocations: 51.41 kB / 1.275 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.9934, allocations: 93.86 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.9935, allocations: 33.7 kB / 1.275 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.9935, allocations: 92.14 kB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.9935, allocations: 7.953 kB / 1.275 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.9936, allocations: 13.72 kB / 1.275 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9937, allocations: 314.8 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.9938, allocations: 11.98 kB / 1.276 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.9939, allocations: 23.97 kB / 1.276 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.994, allocations: 36.89 kB / 1.276 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.994, allocations: 3.938 kB / 1.276 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.9942, allocations: 69.66 kB / 1.276 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9942, allocations: 4 kB / 1.276 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.9942, allocations: 0 / 1.276 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9943, allocations: 4 kB / 1.276 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.9943, allocations: 11.92 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9944, allocations: 4.031 kB / 1.276 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.9944, allocations: 4 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.9944, allocations: 0 / 1.276 GB, free: 0.8477 MB / 0.9669 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.0001013/0.9945, allocations: 117.8 kB / 1.276 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.9945, allocations: 3.984 kB / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.9947, allocations: 64.78 kB / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.9948, allocations: 8.031 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.9948, allocations: 0 / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9948, allocations: 0 / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.9949, allocations: 157.6 kB / 1.276 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.9949, allocations: 0 / 1.276 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.995, allocations: 7.984 kB / 1.276 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.995, allocations: 4 kB / 1.276 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.995, allocations: 0 / 1.276 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.995, allocations: 3.938 kB / 1.276 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.995, allocations: 0 / 1.276 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.9952, allocations: 171.4 kB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.9953, allocations: 77.11 kB / 1.276 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.9953, allocations: 3.938 kB / 1.276 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.9954, allocations: 7.984 kB / 1.276 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.9954, allocations: 8 kB / 1.276 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.9954, allocations: 32 / 1.276 GB, free: 132 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.9955, allocations: 87.27 kB / 1.277 GB, free: 44 kB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9955, allocations: 0 / 1.277 GB, free: 44 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002068/0.9957, allocations: 7.938 kB / 1.277 GB, free: 36 kB / 0.9669 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.0006105/0.9963, allocations: 0.6973 MB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.9965, allocations: 35.95 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9965, allocations: 0 / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.9966, allocations: 19.98 kB / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.9969, allocations: 6.031 kB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.9974, allocations: 167.6 kB / 1.277 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.9977, allocations: 0.6768 MB / 1.278 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.9978, allocations: 4 kB / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.9978, allocations: 11.44 kB / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9978, allocations: 0 / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/1.022, allocations: 1.271 MB / 1.279 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.879, allocations: 6.219 kB / 1.279 GB, free: 13.14 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.122942148009315]