Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0008553/0.0008551, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005877/0.005877, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.379/1.379, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005404/0.0005405, allocations: 12 kB / 0.8728 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8126, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.0009971/0.8137, allocations: 398.2 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8148, allocations: 0.8079 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.8149, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.8149, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.815, allocations: 7.922 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.8151, allocations: 12 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.8152, allocations: 23.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.8153, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.8153, allocations: 7.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.8154, allocations: 11.98 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.8154, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.8154, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.8155, allocations: 3.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.8155, allocations: 41.67 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.366e-05/0.8156, allocations: 19.91 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8156, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8156, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.8156, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 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.0004292/0.8161, allocations: 337.5 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8161, allocations: 8.031 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.8161, allocations: 4.938 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.8163, allocations: 168.3 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.8163, allocations: 8.312 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.8163, allocations: 4.375 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.8165, allocations: 58.17 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8165, allocations: 192 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8165, allocations: 3.938 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8165, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.8167, allocations: 47.95 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.8171, allocations: 241 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.8172, allocations: 50.48 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.8173, allocations: 28.91 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.8173, allocations: 7.875 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.8174, allocations: 30.56 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8174, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.8177, allocations: 97.64 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.8178, allocations: 51.41 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.8179, allocations: 106 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.8179, allocations: 25.7 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.8179, allocations: 88.08 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.818, allocations: 3.906 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.818, allocations: 9.719 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8181, allocations: 314.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.8182, allocations: 27.92 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.8183, allocations: 23.97 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.8185, allocations: 52.89 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8185, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.8187, allocations: 77.59 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.8187, allocations: 4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8187, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.8187, allocations: 4.031 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.8188, allocations: 11.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.8189, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.8189, allocations: 12 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.8189, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 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.086e-05/0.819, allocations: 125.7 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.819, allocations: 3.906 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.8193, allocations: 80.78 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8193, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8193, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8193, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.8195, allocations: 157.6 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8195, allocations: 4.031 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.8196, allocations: 11.98 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8196, allocations: 7.938 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.8196, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8196, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.8196, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.8199, allocations: 183.5 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.8199, allocations: 81.11 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8199, allocations: 7.969 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.82, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.8201, allocations: 12.02 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.8201, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.8201, allocations: 83.28 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8201, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000217/0.8203, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 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.0001303/0.8205, allocations: 99.23 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.8207, allocations: 55.89 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8207, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.8208, allocations: 23.98 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.8211, allocations: 7.938 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.8214, allocations: 115 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.8217, allocations: 0.677 MB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.8217, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.8217, allocations: 11.44 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8217, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.002285/0.824, allocations: 363.1 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches