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.001944/0.001944, allocations: 80.73 kB / 19.43 MB, free: 360 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.002332/0.002332, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.542/1.542, allocations: 177.2 MB / 203.1 MB, free: 5.289 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.263/3.263, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.826e-06/2.826e-06, allocations: 0 / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.687e-05, allocations: 5.953 kB / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001915/0.001952, allocations: 0.6738 MB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.003595, allocations: 0.8451 MB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.003632, allocations: 1.125 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.00366, allocations: 0 / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.003732, allocations: 1.531 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.00393, allocations: 17.66 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.004015, allocations: 23.92 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.004115, allocations: 12.58 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.004192, allocations: 11.98 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.00423, allocations: 8.594 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004244, allocations: 0.5938 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.004287, allocations: 4 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.004306, allocations: 9.047 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.004332, allocations: 7.938 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.004455, allocations: 31.89 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.004459, allocations: 0.75 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00446, allocations: 0 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004464, allocations: 1.219 kB / 0.8793 GB, free: 4.789 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.0005214/0.004985, allocations: 262.3 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.005024, allocations: 13.55 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.005138, allocations: 8.875 kB / 0.8795 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.005269, allocations: 109.7 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005283, allocations: 4.375 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.005292, allocations: 1.188 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.005483, allocations: 51.14 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005492, allocations: 192 / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005502, allocations: 384 / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005506, allocations: 4.031 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.005696, allocations: 39.89 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.006058, allocations: 188.6 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.006206, allocations: 38.5 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.006303, allocations: 20.89 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.006328, allocations: 4.656 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.006364, allocations: 34.56 kB / 0.88 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.006364, allocations: 4 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000462/0.006826, allocations: 85.52 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.006877, allocations: 55.34 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006982, allocations: 97.86 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.007004, allocations: 25.7 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.007069, allocations: 88.14 kB / 0.8804 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.00709, allocations: 7.938 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.007128, allocations: 13.84 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.007309, allocations: 314.8 kB / 0.8807 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.007401, allocations: 15.98 kB / 0.8807 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.007478, allocations: 15.98 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.007642, allocations: 40.81 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007644, allocations: 0 / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002265/0.007871, allocations: 73.66 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.007887, allocations: 8 kB / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.007894, allocations: 3.938 kB / 0.8808 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.007914, allocations: 4 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.008002, allocations: 4 kB / 0.8808 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.008013, allocations: 3.984 kB / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.008066, allocations: 7.953 kB / 0.8809 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.008074, allocations: 4 kB / 0.8809 GB, free: 3 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 9.763e-05/0.008172, allocations: 109.9 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.008198, allocations: 4.188 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.008454, allocations: 80.88 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008456, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008461, allocations: 3.938 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008464, allocations: 0 / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.008622, allocations: 101.3 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008623, allocations: 0 / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.0087, allocations: 16.02 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.008702, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.00871, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.008714, allocations: 3.938 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008715, allocations: 0 / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.009011, allocations: 163.5 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.009021, allocations: 3.938 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.009036, allocations: 3.984 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.009121, allocations: 7.938 kB / 0.8813 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.009169, allocations: 11.95 kB / 0.8813 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.009172, allocations: 4 kB / 0.8813 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.009228, allocations: 79.28 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009228, allocations: 3.938 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002261/0.009454, allocations: 11.95 kB / 0.8814 GB, free: 2.34 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.0001679/0.009622, allocations: 91.25 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.00986, allocations: 39.95 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009861, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.00995, allocations: 15.98 kB / 0.8816 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.01029, allocations: 10.5 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.01067, allocations: 112.6 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.01075, allocations: 63.2 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.01077, allocations: 0 / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.01081, allocations: 16.62 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.01081, allocations: 0 / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of Templates: time 0.002984/0.01379, allocations: 488 kB / 0.8822 GB, free: 1.48 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=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/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.270327336038463]