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.001223/0.001223, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001233/0.001233, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.314/2.314, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5134, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001645/0.5151, allocations: 0.724 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.5158, allocations: 0.8157 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.5158, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.5158, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.5159, allocations: 3.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.516, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.5161, allocations: 27.91 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.5162, allocations: 4 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.5162, allocations: 11.92 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.5162, allocations: 12 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.5163, allocations: 4 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.5163, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5163, allocations: 11.92 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.5163, allocations: 8 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.119e-05/0.5164, allocations: 27.89 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5164, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5164, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5164, allocations: 0 / 1.019 GB, free: 1.012 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.0003579/0.5168, allocations: 337.7 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5168, allocations: 12.03 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.5168, allocations: 30.75 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.908e-05/0.5169, allocations: 0.9375 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.517, allocations: 176.2 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.517, allocations: 384 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.517, allocations: 384 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5172, allocations: 50.23 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.5172, allocations: 3.938 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.5172, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.5172, allocations: 4 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.5173, allocations: 35.95 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.5176, allocations: 245 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.5177, allocations: 46.38 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.5178, allocations: 28.91 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5179, allocations: 3.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.5179, allocations: 30.56 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5179, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003073/0.5182, allocations: 81.73 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.5182, allocations: 59.38 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.5183, allocations: 97.84 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5183, allocations: 25.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.5183, allocations: 88.08 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5184, allocations: 7.906 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.5184, allocations: 9.719 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.5185, allocations: 322.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.5186, allocations: 15.98 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.5186, allocations: 15.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.5188, allocations: 40.81 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5188, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001707/0.519, allocations: 69.67 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.519, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.519, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.519, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.5191, allocations: 11.98 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5191, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.5192, allocations: 7.984 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.5192, allocations: 0 / 1.02 GB, free: 14.95 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 6.306e-05/0.5192, allocations: 118.3 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.5193, allocations: 7.906 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.5195, allocations: 64.78 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5195, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5195, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5195, allocations: 3.984 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5196, allocations: 165.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5196, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.5197, allocations: 12.02 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5197, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5197, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5197, allocations: 3.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5197, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.5199, allocations: 159.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.52, allocations: 85.14 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.52, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.5201, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.5201, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.5201, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.5201, allocations: 83.22 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5201, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002015/0.5204, allocations: 4 kB / 1.021 GB, free: 14.14 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.0004356/0.5208, allocations: 0.7084 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.521, allocations: 31.97 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.521, allocations: 4.094 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.5211, allocations: 27.91 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5213, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.5217, allocations: 135.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.5219, allocations: 0.6768 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.5219, allocations: 4.062 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.5219, allocations: 11.44 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5219, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.5503, allocations: 1.119 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.5505, allocations: 202.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.073, allocations: 3.938 kB / 1.024 GB, free: 11.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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