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.001319/0.001319, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001503/0.001503, allocations: 217.6 kB / 22.25 MB, free: 4.855 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.777 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.475/3.475, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.00211/0.00211, allocations: 67.98 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001909/0.3834, allocations: 0.6633 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3845, allocations: 0.8436 MB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.3846, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3846, allocations: 3.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.3846, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.3848, allocations: 15.92 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.3849, allocations: 23.92 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.385, allocations: 11.92 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.385, allocations: 15.98 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.3851, allocations: 3.938 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3851, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.3851, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.3852, allocations: 7.984 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.3852, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3853, allocations: 36.05 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3853, allocations: 4 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3853, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3853, allocations: 0 / 1.365 GB, free: 12.44 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.0006006/0.3859, allocations: 258.4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3859, allocations: 12.03 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.386, allocations: 30.75 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.3861, allocations: 8.875 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3862, allocations: 106.5 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3862, allocations: 384 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3862, allocations: 8.375 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3864, allocations: 50.17 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3864, allocations: 7.875 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3864, allocations: 7.984 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3864, allocations: 4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3866, allocations: 27.97 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.387, allocations: 220 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3871, allocations: 42.44 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.3872, allocations: 24.89 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3872, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3873, allocations: 34.56 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3873, allocations: 4 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003631/0.3876, allocations: 77.64 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3877, allocations: 55.41 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3878, allocations: 97.86 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3878, allocations: 29.64 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.3879, allocations: 84.09 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3879, allocations: 7.938 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.3879, allocations: 21.84 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3881, allocations: 310.8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3883, allocations: 15.98 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3884, allocations: 19.97 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3886, allocations: 36.83 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3886, allocations: 3.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002916/0.3889, allocations: 69.72 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3889, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3889, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.389, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3891, allocations: 11.94 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3891, allocations: 3.984 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.3891, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3891, allocations: 0 / 1.367 GB, free: 10.58 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.0001089/0.3893, allocations: 121.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3893, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.3896, allocations: 68.95 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3896, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3896, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3896, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3899, allocations: 132.6 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3899, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.3899, allocations: 8.031 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3899, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.39, allocations: 7.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.39, allocations: 3.984 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.39, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3903, allocations: 163.4 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.3903, allocations: 3.984 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3903, allocations: 8 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3905, allocations: 4.031 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3905, allocations: 11.98 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3905, allocations: 0 / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.3906, allocations: 79.28 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3906, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003904/0.391, allocations: 4 kB / 1.367 GB, free: 9.887 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.0007673/0.3917, allocations: 0.6889 MB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.392, allocations: 43.98 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3921, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3922, allocations: 19.98 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3927, allocations: 6.484 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.3933, allocations: 139.9 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3934, allocations: 63.81 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.3935, allocations: 0 / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.3935, allocations: 15.42 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3935, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.4297, allocations: 1.823 MB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 14.23 kB / 1.37 GB, free: 7.129 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.85112356208265]