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.001001/0.001001, allocations: 81.95 kB / 20.68 MB, free: 3.82 MB / 18.57 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.001139/0.001139, allocations: 181.3 kB / 24.08 MB, free: 424 kB / 18.57 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 0.9742/0.9742, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.38e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001265/0.001289, allocations: 0.6709 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.002162, allocations: 0.8709 MB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.002193, allocations: 1.031 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.002215, allocations: 0 / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.002277, allocations: 8.531 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.00243, allocations: 7.984 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.002489, allocations: 32.5 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.00256, allocations: 1.125 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.002628, allocations: 15.92 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.00266, allocations: 11.98 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.002674, allocations: 6.219 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.002716, allocations: 7.938 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.002729, allocations: 4 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.002741, allocations: 0 / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.702e-05/0.002828, allocations: 31.84 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00283, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002831, allocations: 2 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002834, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 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.0002717/0.003106, allocations: 356.6 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.003146, allocations: 12.03 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.003235, allocations: 4.891 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.207e-05/0.003297, allocations: 110.2 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.003306, allocations: 4.375 kB / 0.7897 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.003312, allocations: 4.359 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.0034, allocations: 54.94 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.003405, allocations: 1.562 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.003411, allocations: 384 / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.003416, allocations: 4.375 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.003436, allocations: 7.875 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.003628, allocations: 230.2 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.003669, allocations: 31.09 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.003683, allocations: 15.75 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.003699, allocations: 1.094 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.003716, allocations: 33.39 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.003717, allocations: 0 / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000106/0.003823, allocations: 47.47 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.003848, allocations: 55.41 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.003911, allocations: 161.9 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.00392, allocations: 25.7 kB / 0.7904 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.00396, allocations: 133.5 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.003976, allocations: 3.953 kB / 0.7905 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.003999, allocations: 19.38 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.004104, allocations: 0.4884 MB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.004117, allocations: 4 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.004124, allocations: 0 / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.004149, allocations: 16.34 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00415, allocations: 3.938 kB / 0.791 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.984e-05/0.0042, allocations: 38.23 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004211, allocations: 9.641 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004216, allocations: 4 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.004227, allocations: 7.938 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.004285, allocations: 4 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004287, allocations: 0.6562 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.004304, allocations: 7.938 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.004308, allocations: 1 kB / 0.7911 GB, free: 8.395 MB / 0.7448 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 6.637e-05/0.004374, allocations: 156.6 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.004387, allocations: 5.156 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.004459, allocations: 44.94 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004461, allocations: 4.781 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.004463, allocations: 0 / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.004466, allocations: 4 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.867e-05/0.004545, allocations: 94.06 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004545, allocations: 4 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.004568, allocations: 9.266 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.004569, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.004574, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004574, allocations: 0.8438 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004575, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/0.00466, allocations: 192.9 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.004667, allocations: 4.172 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-06/0.004674, allocations: 0 / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.004703, allocations: 5.406 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.004731, allocations: 3.984 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.004734, allocations: 3.938 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.00477, allocations: 132.5 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00477, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001268/0.004897, allocations: 4 kB / 0.7917 GB, free: 7.684 MB / 0.7448 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 9.012e-05/0.004987, allocations: 102.2 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.005044, allocations: 11.69 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005046, allocations: 0 / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.005063, allocations: 19.61 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.005231, allocations: 6.391 kB / 0.7919 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.005589, allocations: 124.5 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.005621, allocations: 59.3 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.005637, allocations: 3.984 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.005681, allocations: 70.7 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.005682, allocations: 1.344 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.001906/0.007587, allocations: 0.5219 MB / 0.7926 GB, free: 6.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.821288097184151]