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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 198.2 kB / 16.53 MB, free: 6.672 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.399/2.399, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5076, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001683/0.5093, allocations: 0.667 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.51, allocations: 0.804 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.51, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.5101, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.5101, allocations: 3.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.5102, allocations: 11.98 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.5103, allocations: 23.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.5104, allocations: 15.98 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.5104, allocations: 15.92 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/0.5105, allocations: 7.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.5105, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.5105, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.5105, allocations: 11.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.5105, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.805e-05/0.5106, allocations: 23.84 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5106, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5106, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5106, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 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.0003649/0.511, allocations: 343.3 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.511, allocations: 8.031 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.5111, allocations: 34.75 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.5111, allocations: 4.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.5112, allocations: 176.3 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.5112, allocations: 384 / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.5112, allocations: 4.375 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.5114, allocations: 50.23 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5114, allocations: 3.938 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5114, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5114, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.5116, allocations: 31.91 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.5119, allocations: 245 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.512, allocations: 42.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.5121, allocations: 20.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.5121, allocations: 3.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.5121, allocations: 34.56 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5121, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.5125, allocations: 85.58 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.5125, allocations: 51.41 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.5126, allocations: 101.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5126, allocations: 29.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.5126, allocations: 84.08 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.5126, allocations: 7.906 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.5127, allocations: 13.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.5128, allocations: 318.8 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.5129, allocations: 15.98 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.5129, allocations: 19.98 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5131, allocations: 40.75 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5131, allocations: 8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/0.5133, allocations: 65.67 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5133, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5133, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5133, allocations: 7.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.5134, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5134, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.5135, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5135, allocations: 4.031 kB / 1.021 GB, free: 14.78 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 5.716e-05/0.5135, allocations: 113.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.5136, allocations: 3.906 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.5138, allocations: 72.72 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5138, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5138, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5138, allocations: 32 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.5139, allocations: 165.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.514, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.514, allocations: 7.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.514, allocations: 4.188 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.514, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.514, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.514, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.5143, allocations: 179.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.5143, allocations: 77.11 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.5143, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.5144, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.5144, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5144, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.5145, allocations: 83.28 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5145, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002089/0.5147, allocations: 8.031 kB / 1.021 GB, free: 13.96 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.0004355/0.5151, allocations: 0.6967 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.5153, allocations: 43.94 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5153, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.5154, allocations: 15.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5157, allocations: 7.984 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.516, allocations: 140 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.5162, allocations: 0.6768 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.713e-05/0.5162, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.5163, allocations: 15.44 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5163, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.5318, allocations: 1.246 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/7.261, allocations: 4.891 kB / 1.024 GB, free: 11.09 MB / 0.7794 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