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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005963/0.005963, allocations: 102.1 kB / 15.73 MB, free: 6.504 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.001142/0.001142, allocations: 197.7 kB / 16.68 MB, free: 6.371 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.578/2.578, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.81 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.287, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001964/0.289, allocations: 0.6463 MB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2903, allocations: 0.8277 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.2903, allocations: 3.938 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.2904, allocations: 3.938 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.2904, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.2906, allocations: 7.984 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.2907, allocations: 31.91 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.2908, allocations: 4 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.2909, allocations: 4 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.2909, allocations: 11.92 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2909, allocations: 8 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.2909, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.291, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.291, allocations: 15.92 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.305e-05/0.2911, allocations: 23.89 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2911, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2911, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2911, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 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.0004512/0.2916, allocations: 343.7 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2916, allocations: 12.03 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.2917, allocations: 30.75 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.2917, allocations: 0.9375 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2918, allocations: 172.3 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2919, allocations: 8.297 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2919, allocations: 384 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2921, allocations: 46.25 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2921, allocations: 3.938 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.2921, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2921, allocations: 3.984 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2923, allocations: 35.97 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.2926, allocations: 240.9 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2928, allocations: 46.47 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.2929, allocations: 28.91 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2929, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2929, allocations: 30.56 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.293, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003677/0.2933, allocations: 81.64 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.2934, allocations: 55.47 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.2935, allocations: 105.8 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2935, allocations: 25.7 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.2935, allocations: 84.14 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2936, allocations: 3.953 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.2936, allocations: 13.72 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2937, allocations: 318.8 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.2938, allocations: 15.92 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.2939, allocations: 23.92 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.294, allocations: 36.83 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2941, allocations: 3.938 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.2943, allocations: 73.55 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2943, allocations: 10.12 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2943, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2943, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.2944, allocations: 15.98 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2944, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.2945, allocations: 7.984 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2945, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 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.554e-05/0.2946, allocations: 117.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2946, allocations: 0 / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2948, allocations: 68.78 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2948, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2949, allocations: 4 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2949, allocations: 0 / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.295, allocations: 169.5 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.295, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.2951, allocations: 7.938 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.2951, allocations: 3.984 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2951, allocations: 8.031 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2951, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2951, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2954, allocations: 159.5 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.2954, allocations: 81.25 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2954, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.2955, allocations: 12.03 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2956, allocations: 7.969 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.2956, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.2956, allocations: 75.28 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2956, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002206/0.2959, allocations: 4 kB / 1.17 GB, free: 2.801 MB / 0.92 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.0005777/0.2964, allocations: 0.7007 MB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.2967, allocations: 35.95 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2967, allocations: 3.938 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.2968, allocations: 28.02 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2971, allocations: 4 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.2975, allocations: 143.6 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.2977, allocations: 0.6729 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.2978, allocations: 3.984 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.2978, allocations: 7.438 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of SimCode: time 5.51e-07/0.2978, allocations: 4.062 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.3156, allocations: 1.26 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.699, allocations: 12.94 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/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