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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_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.004417/0.004417, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001209/0.001209, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.91 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3028, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001823/0.3047, allocations: 0.6711 MB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.3057, allocations: 0.8118 MB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.3057, allocations: 0 / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.3058, allocations: 0 / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.3058, allocations: 3.938 kB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.306, allocations: 8 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.306, allocations: 19.92 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.3061, allocations: 11.98 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.918e-05/0.3062, allocations: 11.94 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.3063, allocations: 11.97 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3063, allocations: 4 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.3063, allocations: 0 / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.3063, allocations: 11.94 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.3063, allocations: 4 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.568e-05/0.3064, allocations: 19.91 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3064, allocations: 3.984 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3064, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3064, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9981 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.0004494/0.3069, allocations: 343.5 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3069, allocations: 11.97 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.307, allocations: 30.75 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.307, allocations: 4.938 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3071, allocations: 172.3 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3071, allocations: 384 / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.3072, allocations: 384 / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3073, allocations: 50.23 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3073, allocations: 3.938 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3074, allocations: 4 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3074, allocations: 4 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3075, allocations: 31.95 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.3079, allocations: 248.9 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.308, allocations: 38.5 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.3081, allocations: 32.89 kB / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3081, allocations: 0 / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3082, allocations: 30.56 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3082, allocations: 0 / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.3085, allocations: 85.7 kB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3086, allocations: 59.34 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.3086, allocations: 97.86 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3087, allocations: 29.7 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3087, allocations: 84.12 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3087, allocations: 7.938 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3088, allocations: 17.72 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3089, allocations: 310.8 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.309, allocations: 15.98 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.3091, allocations: 23.97 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3092, allocations: 32.83 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3092, allocations: 3.938 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.3094, allocations: 77.61 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3095, allocations: 4 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3095, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3095, allocations: 4 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.3096, allocations: 7.984 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3096, allocations: 0 / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.3096, allocations: 4 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.3096, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 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.717e-05/0.3097, allocations: 121.8 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3097, allocations: 3.984 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.31, allocations: 68.72 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.31, allocations: 4 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.31, allocations: 0 / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.31, allocations: 0 / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3102, allocations: 157.6 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3102, allocations: 0 / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.3103, allocations: 20.02 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3103, allocations: 4 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3103, allocations: 3.938 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3103, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3103, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3105, allocations: 159.6 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.3106, allocations: 89.08 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3106, allocations: 3.938 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.3107, allocations: 11.98 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.3107, allocations: 4 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3107, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.3108, allocations: 83.27 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3108, allocations: 0 / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002011/0.311, allocations: 0 / 1.246 GB, free: 5.305 MB / 0.9981 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.0005627/0.3116, allocations: 0.7012 MB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.3118, allocations: 39.89 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3118, allocations: 4.094 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.3119, allocations: 19.98 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3121, allocations: 6.062 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.3125, allocations: 143.6 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3128, allocations: 0.6768 MB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.3128, allocations: 0 / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3129, allocations: 11.5 kB / 1.248 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3129, allocations: 0 / 1.248 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7128/1.026, allocations: 1.287 MB / 1.249 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.62, allocations: 5.062 kB / 1.249 GB, free: 2.406 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > 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