Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01435/0.01435, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002545/0.002545, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.627/2.627, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 61.81 kB / 0.9509 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3976, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002201/0.3998, allocations: 0.6664 MB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.4008, allocations: 0.8121 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.4009, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.4009, allocations: 3.984 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.401, allocations: 15.94 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.4012, allocations: 0 / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4013, allocations: 23.97 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.4014, allocations: 8 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.4015, allocations: 11.88 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.4015, allocations: 11.98 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.4015, allocations: 3.984 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.4016, allocations: 4 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4016, allocations: 7.938 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.4016, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.4017, allocations: 27.91 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4017, allocations: 4 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4017, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4017, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 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.0004615/0.4022, allocations: 331.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4022, allocations: 8.031 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.4023, allocations: 8.844 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4024, allocations: 168.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4024, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4025, allocations: 12.31 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4026, allocations: 46.23 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4026, allocations: 4.188 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4027, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4027, allocations: 7.875 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4028, allocations: 27.97 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.4032, allocations: 249 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.4033, allocations: 46.44 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.4034, allocations: 16.91 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4034, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4035, allocations: 38.55 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4035, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003322/0.4038, allocations: 73.66 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4039, allocations: 51.41 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.4039, allocations: 113.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.404, allocations: 25.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.404, allocations: 84.05 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.404, allocations: 8.125 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.4041, allocations: 17.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4042, allocations: 310.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.4043, allocations: 19.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.4044, allocations: 15.98 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.4045, allocations: 40.88 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4045, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/0.4047, allocations: 73.52 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4047, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4047, allocations: 7.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4047, allocations: 3.984 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.4048, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4049, allocations: 4.031 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.4049, allocations: 7.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.4049, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 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 8.591e-05/0.405, allocations: 113.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.405, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.4053, allocations: 72.78 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4053, allocations: 4.031 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4053, allocations: 3.984 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4053, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.4055, allocations: 161.6 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4055, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.4056, allocations: 19.86 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4056, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4056, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4056, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4056, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4058, allocations: 167.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.4059, allocations: 88.89 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.4059, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.406, allocations: 7.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4061, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4061, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.4061, allocations: 87.31 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4061, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002145/0.4063, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 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.0001616/0.4065, allocations: 99.77 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4067, allocations: 39.91 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4067, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.4068, allocations: 28.03 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4072, allocations: 3.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.4075, allocations: 105.6 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.4078, allocations: 0.6729 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.4078, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.4078, allocations: 15.42 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.4078, allocations: 4.062 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Templates: time 0.00274/0.4106, allocations: 443.8 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches