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.001416/0.001416, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001459/0.001459, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.068/3.068, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",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.002132/0.002132, allocations: 79.81 kB / 1.165 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002174/1.12, allocations: 0.6738 MB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001096/1.122, allocations: 0.8536 MB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/1.122, allocations: 0 / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/1.122, allocations: 3.938 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/1.122, allocations: 2.141 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/1.122, allocations: 17.89 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/1.122, allocations: 28.2 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.122, allocations: 7.312 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/1.122, allocations: 6.156 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/1.122, allocations: 21.28 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/1.122, allocations: 2.938 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/1.122, allocations: 4.281 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/1.122, allocations: 5.125 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/1.122, allocations: 11.67 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/1.122, allocations: 25.28 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.122, allocations: 1.75 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.122, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.122, allocations: 0 / 1.342 GB, free: 15.11 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.0004381/1.123, allocations: 345.7 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.123, allocations: 9.219 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/1.123, allocations: 1.594 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/1.123, allocations: 31.31 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/1.123, allocations: 4.234 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/1.123, allocations: 167.3 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/1.123, allocations: 4.312 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/1.123, allocations: 5.812 kB / 1.342 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.123, allocations: 53.81 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.123, allocations: 3.984 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.123, allocations: 4 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.123, allocations: 1.062 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/1.124, allocations: 32.31 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/1.124, allocations: 250.4 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/1.124, allocations: 43.48 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/1.124, allocations: 19.64 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/1.124, allocations: 1.703 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.124, allocations: 31.22 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.124, allocations: 1.031 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000377/1.124, allocations: 83.41 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.125, allocations: 57.19 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/1.125, allocations: 99.98 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/1.125, allocations: 26.92 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/1.125, allocations: 86.09 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.125, allocations: 4.609 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/1.125, allocations: 16.52 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/1.125, allocations: 317.4 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/1.125, allocations: 18.62 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/1.125, allocations: 17.8 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/1.125, allocations: 41.05 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.125, allocations: 0.7969 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/1.125, allocations: 74.47 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.125, allocations: 10.67 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.125, allocations: 0 / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.125, allocations: 0 / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/1.125, allocations: 14.09 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.125, allocations: 0 / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/1.125, allocations: 6.297 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/1.125, allocations: 1.594 kB / 1.344 GB, free: 13.34 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 5.312e-05/1.126, allocations: 115.8 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/1.126, allocations: 1.891 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/1.126, allocations: 75.08 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.126, allocations: 0.5156 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.126, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.126, allocations: 1.969 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/1.126, allocations: 159.5 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.126, allocations: 4 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/1.126, allocations: 11.94 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.126, allocations: 1.609 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/1.126, allocations: 0 / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.126, allocations: 2.047 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.126, allocations: 0 / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/1.126, allocations: 166.6 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/1.126, allocations: 83.64 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/1.126, allocations: 0 / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/1.126, allocations: 6.5 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/1.126, allocations: 2.578 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.126, allocations: 0.6094 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.27e-05/1.126, allocations: 80.27 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.126, allocations: 0 / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002094/1.127, allocations: 7.594 kB / 1.344 GB, free: 12.64 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.0004288/1.127, allocations: 0.7004 MB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.127, allocations: 38.58 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.127, allocations: 3.938 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/1.127, allocations: 19.72 kB / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.128, allocations: 7.5 kB / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/1.128, allocations: 135.2 kB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/1.128, allocations: 0.6834 MB / 1.346 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.478e-05/1.128, allocations: 0.75 kB / 1.346 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/1.128, allocations: 9.75 kB / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.128, allocations: 0 / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/1.149, allocations: 1.332 MB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/9.704, allocations: 11.98 kB / 1.347 GB, free: 10.7 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.480234211019706]