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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005242/0.005242, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001223/0.001223, allocations: 196.5 kB / 16.68 MB, free: 5.93 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: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.91 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 157.4 MB / 1.207 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002123/1.039, allocations: 0.6609 MB / 1.208 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001172/1.04, allocations: 0.8078 MB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/1.04, allocations: 4 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/1.04, allocations: 0 / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/1.041, allocations: 3.938 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/1.041, allocations: 15.97 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/1.041, allocations: 27.92 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/1.041, allocations: 0 / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/1.041, allocations: 11.94 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/1.041, allocations: 11.98 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/1.041, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/1.041, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/1.041, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/1.041, allocations: 11.98 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/1.041, allocations: 27.89 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.041, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/1.041, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.057e-06/1.041, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 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.0004445/1.042, allocations: 337.9 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.042, allocations: 12.03 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/1.042, allocations: 34.75 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/1.042, allocations: 0.9375 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.042, allocations: 168.3 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/1.042, allocations: 4.375 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/1.042, allocations: 384 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.042, allocations: 58.16 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.042, allocations: 3.938 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/1.042, allocations: 0 / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.042, allocations: 0 / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/1.042, allocations: 35.95 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/1.043, allocations: 245 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.043, allocations: 54.36 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/1.043, allocations: 20.91 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1.043, allocations: 4 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.043, allocations: 34.56 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/1.043, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/1.043, allocations: 81.55 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.043, allocations: 55.34 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/1.043, allocations: 101.8 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.044, allocations: 25.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/1.044, allocations: 92.2 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/1.044, allocations: 7.906 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/1.044, allocations: 9.719 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.044, allocations: 314.8 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/1.044, allocations: 19.97 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/1.044, allocations: 11.98 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/1.044, allocations: 44.89 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.044, allocations: 3.938 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/1.044, allocations: 69.59 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.044, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.044, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.044, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/1.044, allocations: 11.98 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.044, allocations: 4.031 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/1.044, allocations: 4 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.044, allocations: 3.984 kB / 1.211 GB, free: 10.04 MB / 0.9356 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.513e-05/1.045, allocations: 109.8 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/1.045, allocations: 4 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.045, allocations: 68.78 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.045, allocations: 4.031 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.045, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.045, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/1.045, allocations: 165.6 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.045, allocations: 3.938 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/1.045, allocations: 4 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.045, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.045, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.045, allocations: 11.88 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.045, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/1.045, allocations: 171.4 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/1.045, allocations: 81.09 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/1.045, allocations: 0 / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/1.046, allocations: 4 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/1.046, allocations: 3.984 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/1.046, allocations: 4.031 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.862e-05/1.046, allocations: 87.45 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/1.046, allocations: 0 / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002174/1.046, allocations: 4 kB / 1.211 GB, free: 9.227 MB / 0.9356 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.0006352/1.047, allocations: 0.7007 MB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002069/1.047, allocations: 35.95 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.047, allocations: 0 / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/1.047, allocations: 23.92 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/1.047, allocations: 7.938 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/1.048, allocations: 147.8 kB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.048, allocations: 0.6767 MB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.425e-05/1.048, allocations: 0 / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/1.048, allocations: 15.42 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/1.048, allocations: 0 / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/1.066, allocations: 1.272 MB / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.606, allocations: 11.61 kB / 1.214 GB, free: 6.332 MB / 0.9356 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=50 --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