Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 105.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 68.38 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2822, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001933/0.2842, allocations: 0.73 MB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.2851, allocations: 0.8118 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.2852, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.2852, allocations: 3.938 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.2853, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.2854, allocations: 11.98 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.2855, allocations: 23.94 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.2856, allocations: 7.984 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.2856, allocations: 11.94 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.2857, allocations: 7.969 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2857, allocations: 7.938 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.2857, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2857, allocations: 8 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.2858, allocations: 7.938 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.203e-05/0.2858, allocations: 15.97 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2858, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2858, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2858, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 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.0004555/0.2863, allocations: 335.8 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2863, allocations: 8.031 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.2864, allocations: 4.844 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2865, allocations: 172.3 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2865, allocations: 4.375 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.2865, allocations: 384 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.2867, allocations: 54.23 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2867, allocations: 4.172 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2867, allocations: 3.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2868, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2869, allocations: 31.97 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2873, allocations: 249 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2874, allocations: 42.44 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.2875, allocations: 16.91 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2875, allocations: 4 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2876, allocations: 38.55 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2876, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003259/0.2879, allocations: 77.59 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.288, allocations: 51.41 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.288, allocations: 101.8 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2881, allocations: 25.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.2881, allocations: 84.05 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.2881, allocations: 8.125 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2882, allocations: 17.7 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2883, allocations: 314.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.2884, allocations: 15.98 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.2885, allocations: 11.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2886, allocations: 44.88 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2886, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.2888, allocations: 77.45 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2889, allocations: 9.812 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2889, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2889, allocations: 3.984 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.289, allocations: 8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.289, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.289, allocations: 12.02 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.289, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 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 7.395e-05/0.2891, allocations: 111.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2891, allocations: 4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2894, allocations: 68.78 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2894, allocations: 4 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2894, allocations: 7.969 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2894, allocations: 3.984 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.2896, allocations: 161.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2896, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.2896, allocations: 7.984 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2897, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2897, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2897, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2897, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.2899, allocations: 163.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.29, allocations: 85.02 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.29, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.2901, allocations: 7.984 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.2901, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2901, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.2902, allocations: 87.5 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.115e-06/0.2902, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002108/0.2904, allocations: 11.88 kB / 1.068 GB, free: 10.59 MB / 0.8419 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.0001269/0.2905, allocations: 103.2 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2907, allocations: 31.97 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2907, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.2908, allocations: 28.03 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2911, allocations: 7.938 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.2913, allocations: 138.1 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2917, allocations: 0.6729 MB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.2917, allocations: 19.36 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of SimCode: time 1.91e-07/0.2917, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of Templates: time 0.00176/0.2935, allocations: 0.5417 MB / 1.07 GB, free: 8.984 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches