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.001678/0.001678, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001616/0.001616, allocations: 174 kB / 22.46 MB, free: 5.355 MB / 14.72 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.965/2.965, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.816e-06/2.816e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.502e-05, allocations: 5.375 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002609/0.002645, allocations: 0.6679 MB / 0.9821 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004293, allocations: 0.8431 MB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.004336, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.004366, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.004452, allocations: 15.92 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.004686, allocations: 7.984 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.004789, allocations: 23.94 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.004916, allocations: 7.984 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.005023, allocations: 11.94 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.005069, allocations: 7.984 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.005096, allocations: 4 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.005159, allocations: 4 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.00518, allocations: 7.984 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.005212, allocations: 11.98 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.005346, allocations: 31.78 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005349, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.005351, allocations: 4 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.005356, allocations: 3.938 kB / 0.9831 GB, free: 10.22 MB / 0.9356 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.0005597/0.005915, allocations: 258.3 kB / 0.9833 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.005962, allocations: 12.03 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.006074, allocations: 4.891 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.006216, allocations: 113.7 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.006231, allocations: 4.375 kB / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.006241, allocations: 384 / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.006467, allocations: 54.23 kB / 0.9835 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.006475, allocations: 192 / 0.9835 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006486, allocations: 384 / 0.9835 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006491, allocations: 384 / 0.9835 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.006735, allocations: 43.84 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.007127, allocations: 188.6 kB / 0.9838 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.007308, allocations: 38.56 kB / 0.9838 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.007437, allocations: 24.91 kB / 0.9838 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.00746, allocations: 0 / 0.9838 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.268e-05/0.007543, allocations: 30.56 kB / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.007544, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000495/0.008039, allocations: 89.52 kB / 0.9839 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.008095, allocations: 51.41 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.008256, allocations: 106 kB / 0.9841 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.00828, allocations: 29.7 kB / 0.9841 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.008344, allocations: 88.09 kB / 0.9842 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.008365, allocations: 3.984 kB / 0.9842 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.008415, allocations: 13.72 kB / 0.9842 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.008635, allocations: 318.8 kB / 0.9845 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.008753, allocations: 15.92 kB / 0.9845 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.008872, allocations: 19.98 kB / 0.9845 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.009104, allocations: 44.81 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009107, allocations: 0 / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003316/0.009438, allocations: 65.62 kB / 0.9846 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.009458, allocations: 4 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.009466, allocations: 7.938 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.009482, allocations: 0 / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.009612, allocations: 8.016 kB / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.009617, allocations: 4 kB / 0.9847 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.009704, allocations: 7.984 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.00971, allocations: 0 / 0.9847 GB, free: 8.426 MB / 0.9356 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.0001121/0.009822, allocations: 113.8 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.009867, allocations: 0 / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.01021, allocations: 76.84 kB / 0.9849 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01021, allocations: 0 / 0.9849 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01022, allocations: 7.969 kB / 0.9849 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01022, allocations: 0 / 0.9849 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01041, allocations: 105.3 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01041, allocations: 0 / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.0105, allocations: 11.98 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0105, allocations: 0 / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.01051, allocations: 0 / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01051, allocations: 3.938 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01052, allocations: 0 / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.01087, allocations: 163.5 kB / 0.9851 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.01088, allocations: 11.95 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.0109, allocations: 3.938 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01103, allocations: 11.92 kB / 0.9852 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.01106, allocations: 0 / 0.9852 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01107, allocations: 4 kB / 0.9852 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.01113, allocations: 87.27 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01113, allocations: 0 / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003782/0.01151, allocations: 4 kB / 0.9853 GB, free: 7.773 MB / 0.9356 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.0001395/0.01165, allocations: 99.81 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.01194, allocations: 31.97 kB / 0.9854 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01194, allocations: 3.938 kB / 0.9854 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.01207, allocations: 23.97 kB / 0.9854 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.01251, allocations: 0 / 0.9854 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.01289, allocations: 120.8 kB / 0.9855 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.36e-05/0.01296, allocations: 59.34 kB / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.01299, allocations: 0 / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.01302, allocations: 8.5 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.01302, allocations: 0 / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.003878/0.0169, allocations: 483.2 kB / 0.9861 GB, free: 6.922 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.478378806263208]