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.001051/0.001051, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001148/0.001148, allocations: 161 kB / 24.17 MB, free: 332 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.9797/0.9797, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.075/2.075, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.214e-06/2.214e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.754e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001558/0.001586, allocations: 0.7357 MB / 0.7609 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.002416, allocations: 0.861 MB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.002445, allocations: 0 / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002471, allocations: 4.656 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.002541, allocations: 2.891 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002693, allocations: 16.47 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.991e-05/0.002752, allocations: 24.27 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.002822, allocations: 12.5 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.002893, allocations: 10.84 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.002928, allocations: 8.969 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.002941, allocations: 4 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.002992, allocations: 7.938 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.003006, allocations: 5.281 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.003021, allocations: 8.969 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.003108, allocations: 22.5 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00311, allocations: 0 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003111, allocations: 0 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003114, allocations: 1.984 kB / 0.7618 GB, free: 4.828 MB / 0.7136 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.0002416/0.003356, allocations: 225 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.003386, allocations: 17.3 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.003464, allocations: 12.89 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.003537, allocations: 101.8 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.003545, allocations: 5.125 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-06/0.00355, allocations: 384 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.664e-05/0.003646, allocations: 59.62 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.003653, allocations: 192 / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.003661, allocations: 4.859 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.003666, allocations: 2.938 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.003685, allocations: 7.938 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.003874, allocations: 148.3 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.003912, allocations: 22.52 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.003923, allocations: 6.203 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.003937, allocations: 4.062 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003959, allocations: 30.56 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.00396, allocations: 1.25 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.528e-05/0.004055, allocations: 38.34 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.004082, allocations: 55.34 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.004132, allocations: 108 kB / 0.7626 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.00414, allocations: 25.7 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.004167, allocations: 84.14 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.004184, allocations: 15.03 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.004207, allocations: 14.48 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.004275, allocations: 310.8 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.004282, allocations: 0 / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.004289, allocations: 4 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.004311, allocations: 16.83 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004312, allocations: 0 / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.043e-05/0.004353, allocations: 36.73 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.004362, allocations: 4.875 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004366, allocations: 0 / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004377, allocations: 0 / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.004438, allocations: 23.86 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.00444, allocations: 0 / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.004457, allocations: 7.938 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.004461, allocations: 0 / 0.7632 GB, free: 3.32 MB / 0.7136 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 4.924e-05/0.00451, allocations: 115.3 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.004524, allocations: 0.6562 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.004583, allocations: 41 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.004585, allocations: 0.6562 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.004589, allocations: 9.422 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004591, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.004665, allocations: 61.91 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004666, allocations: 0.9844 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.004689, allocations: 10.44 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004691, allocations: 7.984 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.004694, allocations: 0 / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.004695, allocations: 0 / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.004695, allocations: 3.938 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.049e-05/0.004756, allocations: 131.5 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.004764, allocations: 14.69 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.00477, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/0.004799, allocations: 0.6562 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.004825, allocations: 4 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.004827, allocations: 0 / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.53e-05/0.004842, allocations: 24.94 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004842, allocations: 0 / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001151/0.004957, allocations: 8 kB / 0.7636 GB, free: 2.855 MB / 0.7136 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.356e-05/0.005031, allocations: 75.48 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.933e-05/0.00508, allocations: 16.8 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.005082, allocations: 1.812 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.005096, allocations: 12.84 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.005227, allocations: 4 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.005557, allocations: 111.1 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.005588, allocations: 59.34 kB / 0.7638 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.005603, allocations: 0 / 0.7638 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.005641, allocations: 51.38 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.005642, allocations: 1.969 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of Templates: time 0.00178/0.007422, allocations: 474.8 kB / 0.7643 GB, free: 2.023 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.065013017971069]