Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001025/0.001025, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001147/0.001147, allocations: 165.4 kB / 24.87 MB, free: 9.27 MB / 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.568e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00136/0.001386, allocations: 0.6751 MB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002198, allocations: 0.8641 MB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.002229, allocations: 0 / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002252, allocations: 0 / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.002318, allocations: 15.84 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.00247, allocations: 9 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.002527, allocations: 23.92 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.002601, allocations: 4.625 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.00268, allocations: 15.98 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.002712, allocations: 9.391 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.002724, allocations: 0 / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.002764, allocations: 7.938 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.00278, allocations: 15.92 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.002792, allocations: 1.156 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.312e-05/0.002876, allocations: 27.91 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.002878, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002879, allocations: 0.6875 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.002883, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 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.0002971/0.00318, allocations: 361.5 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.003212, allocations: 8.031 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.003288, allocations: 5.594 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.003361, allocations: 116.6 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003369, allocations: 1.219 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-06/0.003374, allocations: 384 / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.003459, allocations: 52.2 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.003464, allocations: 4.125 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.00347, allocations: 384 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.003474, allocations: 2.344 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.003494, allocations: 15.86 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.003705, allocations: 224.5 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/0.003746, allocations: 35.05 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.00376, allocations: 8.688 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.003771, allocations: 0 / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.00379, allocations: 41.45 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003791, allocations: 1.531 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.003902, allocations: 49.52 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.003927, allocations: 51.41 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.003984, allocations: 158.9 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.003993, allocations: 25.7 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.004031, allocations: 134.9 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.004047, allocations: 4.703 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.004073, allocations: 27.34 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.004183, allocations: 492.8 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.004192, allocations: 0.6875 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.0042, allocations: 4 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.004222, allocations: 16.25 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004224, allocations: 1.062 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.808e-05/0.004272, allocations: 41.69 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.004283, allocations: 4.531 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004286, allocations: 1.344 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.004294, allocations: 3.938 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.004345, allocations: 4 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.004347, allocations: 0 / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.004364, allocations: 13.08 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.004367, allocations: 0 / 0.8163 GB, free: 13.67 MB / 0.7761 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.409e-05/0.004421, allocations: 157.1 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.004435, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.004497, allocations: 49.78 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.004499, allocations: 5.625 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.004501, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004503, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/0.004593, allocations: 105.1 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.004595, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.004618, allocations: 9.922 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004619, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.004624, allocations: 4 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004624, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004625, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.949e-05/0.004705, allocations: 192.6 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.00471, allocations: 4 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.004717, allocations: 3.406 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.004745, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.004771, allocations: 7.984 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.004774, allocations: 3.938 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.004804, allocations: 123.2 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.004804, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001344/0.004939, allocations: 8 kB / 0.8169 GB, free: 12.96 MB / 0.7761 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 7.506e-05/0.005014, allocations: 91.88 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.197e-05/0.005066, allocations: 16.17 kB / 0.817 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005067, allocations: 5.594 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/0.005081, allocations: 11.62 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.005248, allocations: 7.938 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.005562, allocations: 121.1 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.005594, allocations: 59.28 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.005609, allocations: 4 kB / 0.8172 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.005647, allocations: 66.2 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.005648, allocations: 0.8125 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.001784/0.007432, allocations: 0.5309 MB / 0.8178 GB, free: 12.02 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.209820797201246]