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.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.001723/0.001723, allocations: 110.6 kB / 17.08 MB, free: 5.977 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.002362/0.002363, allocations: 195.6 kB / 20.03 MB, free: 3.047 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.546/1.546, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 489.3 MB / 0.7687 GB, free: 3.82 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 79.81 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.145, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001759/1.147, allocations: 0.6647 MB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009328/1.148, allocations: 0.8096 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/1.148, allocations: 0.8125 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/1.148, allocations: 4.438 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/1.148, allocations: 2.422 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/1.148, allocations: 12.67 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/1.148, allocations: 21.58 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/1.148, allocations: 12.12 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/1.148, allocations: 12.58 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/1.148, allocations: 12.58 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/1.148, allocations: 2.562 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/1.148, allocations: 1.812 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/1.148, allocations: 6.234 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/1.148, allocations: 7.875 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/1.149, allocations: 28.53 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.149, allocations: 0 / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/1.149, allocations: 4.75 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.149, allocations: 0 / 1.264 GB, free: 6.926 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.0004276/1.149, allocations: 332 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.149, allocations: 9.188 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/1.149, allocations: 6.344 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/1.149, allocations: 167.2 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.149, allocations: 1.25 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/1.149, allocations: 2.062 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.149, allocations: 52.38 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.149, allocations: 1.5 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.149, allocations: 3.938 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.149, allocations: 4.719 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/1.15, allocations: 36.83 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/1.15, allocations: 245.6 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.15, allocations: 49.55 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/1.15, allocations: 19.39 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.15, allocations: 4.844 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/1.15, allocations: 35.25 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.15, allocations: 0.6875 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/1.151, allocations: 83.73 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/1.151, allocations: 52.88 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/1.151, allocations: 101.1 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/1.151, allocations: 25.7 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/1.151, allocations: 85.77 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/1.151, allocations: 5.875 kB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/1.151, allocations: 17.56 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/1.151, allocations: 312.6 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/1.151, allocations: 21.75 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/1.151, allocations: 14.28 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/1.151, allocations: 44.59 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.151, allocations: 4.625 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/1.152, allocations: 67.44 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.152, allocations: 8.969 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.152, allocations: 5.406 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.152, allocations: 0.9375 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/1.152, allocations: 8.688 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.152, allocations: 0.9062 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/1.152, allocations: 9.234 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/1.152, allocations: 1.641 kB / 1.266 GB, free: 5.207 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 5.045e-05/1.152, allocations: 112 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/1.152, allocations: 5.438 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/1.152, allocations: 75.14 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.152, allocations: 1.516 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.152, allocations: 0 / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.152, allocations: 4.812 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/1.152, allocations: 159.8 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.152, allocations: 0 / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/1.152, allocations: 9.156 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.152, allocations: 0.75 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.152, allocations: 0.7031 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.152, allocations: 0.6562 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.152, allocations: 0.7188 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.153, allocations: 174 kB / 1.266 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/1.153, allocations: 79.66 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.153, allocations: 0.7969 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/1.153, allocations: 5.562 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.153, allocations: 7.594 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.153, allocations: 0 / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.471e-05/1.153, allocations: 83.92 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.153, allocations: 4.844 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002105/1.153, allocations: 3.656 kB / 1.267 GB, free: 4.512 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.0001434/1.153, allocations: 98.03 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002392/1.153, allocations: 35.95 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.153, allocations: 0 / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/1.154, allocations: 28.59 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.154, allocations: 9.109 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/1.154, allocations: 138 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/1.154, allocations: 0.6793 MB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/1.154, allocations: 13.55 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.154, allocations: 0 / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of Templates: time 0.002301/1.157, allocations: 0.5384 MB / 1.268 GB, free: 3.52 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 800] 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_2/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: 11.694685152033344]