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.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.001864/0.001864, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002043/0.002043, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.475/3.475, allocations: 429.4 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.385e-06/2.385e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.382e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001982/0.002016, allocations: 0.6708 MB / 0.8782 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003222, allocations: 0.8496 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.003256, allocations: 5.062 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.003277, allocations: 0 / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.282e-05/0.00336, allocations: 12.95 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.003527, allocations: 8 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.893e-05/0.003596, allocations: 23.92 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.003682, allocations: 5.594 kB / 0.8791 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.003764, allocations: 15.97 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.003808, allocations: 11.92 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003821, allocations: 4 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.003863, allocations: 6.594 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.003878, allocations: 4 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.003905, allocations: 4 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.004016, allocations: 35.83 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004018, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004018, allocations: 3.938 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.004022, allocations: 0 / 0.8791 GB, free: 4.945 MB / 0.8386 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.0004777/0.0045, allocations: 358.2 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.00454, allocations: 8.031 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.004648, allocations: 8.875 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.004776, allocations: 120.5 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.004788, allocations: 384 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.004795, allocations: 1.094 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004945, allocations: 42.25 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004954, allocations: 1.844 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004961, allocations: 4.375 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.004965, allocations: 384 / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.005079, allocations: 27.86 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.005461, allocations: 248.4 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.00558, allocations: 40.06 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.005653, allocations: 27.73 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.005676, allocations: 0 / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.005716, allocations: 37.38 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.005717, allocations: 0 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000304/0.006021, allocations: 69.55 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.006072, allocations: 55.41 kB / 0.8801 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.006204, allocations: 161.9 kB / 0.8803 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.006229, allocations: 29.7 kB / 0.8803 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.006313, allocations: 126.9 kB / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006332, allocations: 12.08 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.006376, allocations: 19.38 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.006646, allocations: 496.1 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.006698, allocations: 7.984 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.006742, allocations: 12 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.006849, allocations: 35.61 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00685, allocations: 0 / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001434/0.006993, allocations: 57.73 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.007007, allocations: 4 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.007017, allocations: 7.938 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.007029, allocations: 0 / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.007102, allocations: 7.938 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007108, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.007144, allocations: 11.94 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.007149, allocations: 0 / 0.8811 GB, free: 2.746 MB / 0.8386 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 0.0001157/0.007265, allocations: 156.6 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.007289, allocations: 4 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.007473, allocations: 68.89 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007475, allocations: 0 / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007478, allocations: 0 / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007481, allocations: 0 / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.007643, allocations: 120.6 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007643, allocations: 4 kB / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.007693, allocations: 4 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007694, allocations: 0 / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007701, allocations: 0 / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.007705, allocations: 3.938 kB / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007706, allocations: 4.031 kB / 0.8814 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.007948, allocations: 207.9 kB / 0.8816 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.007959, allocations: 7.938 kB / 0.8816 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.00797, allocations: 0 / 0.8816 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.008028, allocations: 3.938 kB / 0.8816 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.008071, allocations: 7.984 kB / 0.8816 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.008074, allocations: 0 / 0.8816 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.00815, allocations: 127.2 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00815, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000197/0.008347, allocations: 7.984 kB / 0.8818 GB, free: 1.961 MB / 0.8386 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.0001249/0.008472, allocations: 95.25 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.008646, allocations: 35.66 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008648, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.008715, allocations: 27.62 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.008953, allocations: 6.172 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.009269, allocations: 110.6 kB / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.009344, allocations: 67.2 kB / 0.8821 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.909e-05/0.009363, allocations: 0 / 0.8821 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.009391, allocations: 12.44 kB / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/0.009392, allocations: 0 / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of Templates: time 0.003121/0.01251, allocations: 0.4981 MB / 0.8826 GB, free: 1.07 MB / 0.8386 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.561225565033965]