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.001342/0.001342, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001421/0.001421, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.855/2.855, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] 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.002109/0.002109, allocations: 71.91 kB / 1.112 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002031/1.056, allocations: 0.6712 MB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001129/1.057, allocations: 0.8549 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/1.057, allocations: 0 / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/1.057, allocations: 0 / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/1.057, allocations: 3.938 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/1.057, allocations: 11.98 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.406e-05/1.057, allocations: 31.84 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/1.058, allocations: 8 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/1.058, allocations: 11.98 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/1.058, allocations: 7.938 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/1.058, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/1.058, allocations: 8 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/1.058, allocations: 3.984 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/1.058, allocations: 11.94 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/1.058, allocations: 21.78 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.058, allocations: 4 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.325e-06/1.058, allocations: 0 / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.058, allocations: 3.938 kB / 1.28 GB, free: 11.7 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.0005058/1.058, allocations: 345.3 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.058, allocations: 12.03 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/1.058, allocations: 34.69 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/1.059, allocations: 8.922 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.059, allocations: 164.4 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/1.059, allocations: 384 / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/1.059, allocations: 384 / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/1.059, allocations: 54.23 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.059, allocations: 3.938 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.059, allocations: 7.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.059, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/1.059, allocations: 35.95 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/1.059, allocations: 248.9 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/1.06, allocations: 42.5 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/1.06, allocations: 20.89 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.06, allocations: 0 / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.06, allocations: 38.56 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.06, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/1.06, allocations: 81.58 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.06, allocations: 55.41 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.06, allocations: 97.86 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.06, allocations: 25.7 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/1.06, allocations: 80.14 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/1.06, allocations: 11.94 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/1.06, allocations: 13.72 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.06, allocations: 315 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/1.061, allocations: 19.98 kB / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/1.061, allocations: 15.97 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/1.061, allocations: 36.83 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.061, allocations: 3.938 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/1.061, allocations: 73.66 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.061, allocations: 8 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.061, allocations: 0 / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.061, allocations: 0 / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/1.061, allocations: 7.938 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.061, allocations: 7.984 kB / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/1.061, allocations: 0 / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/1.061, allocations: 4 kB / 1.282 GB, free: 9.633 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 8.535e-05/1.061, allocations: 113.8 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.061, allocations: 3.953 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/1.062, allocations: 84.64 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.062, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.062, allocations: 192 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/1.062, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/1.062, allocations: 161.6 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.062, allocations: 4.031 kB / 1.282 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/1.062, allocations: 11.98 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.062, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/1.062, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.062, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.062, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/1.062, allocations: 171.4 kB / 1.282 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/1.062, allocations: 77.11 kB / 1.282 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/1.062, allocations: 4 kB / 1.282 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/1.062, allocations: 15.92 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/1.062, allocations: 0 / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/1.062, allocations: 0 / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.15e-05/1.062, allocations: 87.27 kB / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002135/1.063, allocations: 4 kB / 1.282 GB, free: 8.805 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.0006007/1.063, allocations: 0.7012 MB / 1.283 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002216/1.063, allocations: 43.92 kB / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.063, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/1.063, allocations: 15.98 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/1.064, allocations: 4 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/1.064, allocations: 135.8 kB / 1.283 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.065, allocations: 0.6806 MB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.371e-05/1.065, allocations: 8.125 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/1.065, allocations: 11.44 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.065, allocations: 0 / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/1.088, allocations: 1.286 MB / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.973, allocations: 11.11 kB / 1.285 GB, free: 5.902 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/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.328740195836872]