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.001998/0.001998, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.002541/0.002541, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.629/1.629, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 67.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002077/1.08, allocations: 0.6655 MB / 1.222 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001013/1.081, allocations: 0.804 MB / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/1.081, allocations: 4 kB / 1.222 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/1.081, allocations: 0 / 1.222 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/1.081, allocations: 3.938 kB / 1.222 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/1.081, allocations: 11.98 kB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/1.081, allocations: 23.92 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/1.081, allocations: 4 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/1.081, allocations: 11.94 kB / 1.222 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/1.081, allocations: 11.97 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/1.081, allocations: 4 kB / 1.222 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/1.082, allocations: 4 kB / 1.222 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/1.082, allocations: 7.938 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/1.082, allocations: 7.984 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/1.082, allocations: 23.84 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.082, allocations: 0 / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.082, allocations: 0 / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.082, allocations: 0 / 1.222 GB, free: 0.7344 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.000476/1.082, allocations: 345.8 kB / 1.223 GB, free: 360 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.082, allocations: 8.625 kB / 1.223 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/1.082, allocations: 4.938 kB / 1.223 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.082, allocations: 168.4 kB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.082, allocations: 4.375 kB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.082, allocations: 384 / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/1.083, allocations: 50.23 kB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.083, allocations: 192 / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.083, allocations: 3.938 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.083, allocations: 0 / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/1.083, allocations: 43.89 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/1.083, allocations: 248.8 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/1.083, allocations: 46.47 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/1.083, allocations: 24.91 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/1.084, allocations: 4 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.084, allocations: 30.56 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.084, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003883/1.084, allocations: 85.58 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.084, allocations: 51.41 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/1.084, allocations: 101.8 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/1.084, allocations: 29.83 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/1.084, allocations: 84.08 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/1.084, allocations: 11.89 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/1.084, allocations: 13.72 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.084, allocations: 314.8 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/1.085, allocations: 19.97 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/1.085, allocations: 15.98 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/1.085, allocations: 40.77 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.085, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/1.085, allocations: 69.59 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.085, allocations: 4 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.085, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.085, allocations: 4.094 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/1.085, allocations: 11.98 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.085, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/1.085, allocations: 11.98 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.085, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 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.73e-05/1.085, allocations: 105.8 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/1.085, allocations: 7.938 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.086, allocations: 76.72 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.086, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.086, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/1.086, allocations: 85.02 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/1.086, allocations: 0 / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/1.086, allocations: 7.984 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/1.086, allocations: 0 / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003181/1.086, allocations: 153.1 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002897/1.086, allocations: 238.7 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.354e-05/1.087, allocations: 27.91 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.127e-05/1.087, allocations: 79.34 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of Backend: time 3.21e-07/1.087, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000481/1.087, allocations: 100.2 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00071/1.088, allocations: 0.5633 MB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.002846/1.091, allocations: 0.5417 MB / 1.226 GB, free: 12.62 MB / 0.9512 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