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.00179/0.00179, allocations: 118.8 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.002441/0.002441, 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.892/2.892, allocations: 476.7 MB / 0.7679 GB, free: 9.496 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_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.002025/0.002025, allocations: 76.17 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00205/1.14, allocations: 0.6768 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001202/1.141, allocations: 0.8521 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/1.141, allocations: 1.094 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/1.141, allocations: 4.734 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/1.141, allocations: 1.125 kB / 1.281 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/1.141, allocations: 13.45 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/1.141, allocations: 24.69 kB / 1.281 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/1.142, allocations: 7.938 kB / 1.281 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/1.142, allocations: 12.38 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/1.142, allocations: 14.39 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/1.142, allocations: 5.703 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/1.142, allocations: 5.203 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/1.142, allocations: 5.5 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/1.142, allocations: 7.5 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/1.142, allocations: 25.44 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.142, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/1.142, allocations: 1.094 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.142, allocations: 4 kB / 1.281 GB, free: 10.63 MB / 0.9981 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.0005318/1.142, allocations: 345.2 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.143, allocations: 9.594 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/1.143, allocations: 1.312 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/1.143, allocations: 31.45 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/1.143, allocations: 4.312 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.143, allocations: 162.9 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.143, allocations: 1.531 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/1.143, allocations: 5.625 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/1.143, allocations: 56.67 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.143, allocations: 3.984 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.143, allocations: 0.8438 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/1.143, allocations: 1.125 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/1.143, allocations: 32 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/1.144, allocations: 253.8 kB / 1.281 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.144, allocations: 36.78 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/1.144, allocations: 27.64 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/1.144, allocations: 3.984 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.144, allocations: 40.2 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.144, allocations: 4 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000396/1.144, allocations: 80.5 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.144, allocations: 52.11 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/1.144, allocations: 101 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.144, allocations: 25.7 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/1.144, allocations: 82.38 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/1.144, allocations: 9.953 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/1.145, allocations: 16.81 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.145, allocations: 317.2 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/1.145, allocations: 13.16 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/1.145, allocations: 19.03 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/1.145, allocations: 44.95 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.145, allocations: 0 / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002153/1.145, allocations: 64.38 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.145, allocations: 4.594 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.145, allocations: 1.094 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.145, allocations: 0.75 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/1.145, allocations: 13.06 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/1.145, allocations: 7.969 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/1.145, allocations: 5.922 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/1.145, allocations: 1.062 kB / 1.282 GB, free: 8.863 MB / 0.9981 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.665e-05/1.146, allocations: 116.7 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/1.146, allocations: 5.141 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/1.146, allocations: 71.02 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.146, allocations: 4.781 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.146, allocations: 1.094 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.146, allocations: 0 / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.146, allocations: 160.9 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.146, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/1.146, allocations: 12.77 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.146, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.146, allocations: 1.672 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.146, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.146, allocations: 4.938 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/1.146, allocations: 162.2 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/1.146, allocations: 78.31 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.146, allocations: 1.906 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/1.146, allocations: 10.05 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.147, allocations: 2.375 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/1.147, allocations: 1.188 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.968e-05/1.147, allocations: 83.55 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.147, allocations: 4.438 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000215/1.147, allocations: 3.531 kB / 1.283 GB, free: 8.164 MB / 0.9981 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.0006545/1.147, allocations: 0.7043 MB / 1.284 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002498/1.148, allocations: 36.06 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.148, allocations: 0 / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/1.148, allocations: 19.84 kB / 1.284 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/1.148, allocations: 8.938 kB / 1.284 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/1.149, allocations: 150.5 kB / 1.284 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.149, allocations: 0.6833 MB / 1.285 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.24e-05/1.149, allocations: 1.609 kB / 1.285 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/1.149, allocations: 9.203 kB / 1.285 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.149, allocations: 0.5312 kB / 1.285 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/1.168, allocations: 1.32 MB / 1.286 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.49, allocations: 19.83 kB / 1.286 GB, free: 6.207 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.025278235960286]