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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00125/0.00125, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.001387/0.001387, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 67.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002295/1.068, allocations: 0.6572 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001139/1.069, allocations: 0.8078 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/1.069, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/1.069, allocations: 7.922 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/1.069, allocations: 3.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/1.07, allocations: 7.938 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/1.07, allocations: 23.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/1.07, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/1.07, allocations: 19.86 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/1.07, allocations: 7.984 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/1.07, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/1.07, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/1.07, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/1.07, allocations: 15.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/1.07, allocations: 23.84 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.07, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/1.07, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.63e-06/1.07, allocations: 0 / 1.21 GB, free: 11.97 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.0004927/1.071, allocations: 339.3 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.071, allocations: 12.03 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/1.071, allocations: 4.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.071, allocations: 164.4 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.071, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/1.071, allocations: 4.375 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/1.071, allocations: 58.22 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/1.071, allocations: 192 / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.071, allocations: 3.938 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.071, allocations: 3.938 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/1.071, allocations: 31.97 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/1.072, allocations: 245 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/1.072, allocations: 46.5 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/1.072, allocations: 20.91 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/1.072, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/1.072, allocations: 42.48 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.447e-06/1.072, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000386/1.073, allocations: 85.5 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.073, allocations: 55.39 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/1.073, allocations: 97.86 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.073, allocations: 25.7 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/1.073, allocations: 84.14 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/1.073, allocations: 3.906 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/1.073, allocations: 21.83 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.073, allocations: 314.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/1.073, allocations: 11.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/1.073, allocations: 19.98 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/1.073, allocations: 40.81 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.073, allocations: 8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/1.074, allocations: 61.61 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.074, allocations: 8 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.074, allocations: 3.984 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.074, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/1.074, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.074, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/1.074, allocations: 12.02 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/1.074, allocations: 4 kB / 1.212 GB, free: 9.949 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 7.72e-05/1.074, allocations: 109.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/1.074, allocations: 7.875 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/1.074, allocations: 72.72 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.074, allocations: 3.984 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.074, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/1.074, allocations: 81.14 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/1.074, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/1.074, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/1.074, allocations: 11.98 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002641/1.075, allocations: 148.8 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002732/1.075, allocations: 242.7 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.014e-05/1.075, allocations: 11.98 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.976e-05/1.075, allocations: 87.27 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of Backend: time 1.072e-06/1.075, allocations: 0 / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004586/1.076, allocations: 98.75 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006783/1.076, allocations: 0.567 MB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.003111/1.079, allocations: 0.5495 MB / 1.214 GB, free: 7.859 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches