Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 111.3 kB / 17.6 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 182.7 kB / 20.77 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.107 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9954, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001893/0.9973, allocations: 0.6783 MB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.9982, allocations: 0.8136 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.9982, allocations: 0 / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.9983, allocations: 0.7812 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.9983, allocations: 8.75 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.9985, allocations: 8.547 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.9986, allocations: 22.5 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.9986, allocations: 6.719 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.9987, allocations: 17.11 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.9988, allocations: 5.672 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.9988, allocations: 2.438 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.9988, allocations: 1.688 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.9988, allocations: 10.08 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.9988, allocations: 10.64 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.9989, allocations: 23.19 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9989, allocations: 0.75 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9989, allocations: 0 / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9989, allocations: 0.6562 kB / 1.273 GB, free: 6.605 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.0004055/0.9993, allocations: 340.1 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.9994, allocations: 10.23 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.9994, allocations: 32.22 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.9994, allocations: 5.734 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.9995, allocations: 167.9 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.9995, allocations: 9.219 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.9995, allocations: 1.312 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.9997, allocations: 53.12 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9997, allocations: 4.594 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.9997, allocations: 0 / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9997, allocations: 0.7812 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.9999, allocations: 36.53 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/1, allocations: 250.7 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/1, allocations: 39.77 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/1, allocations: 23.31 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/1, allocations: 1.328 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/1, allocations: 31.34 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1, allocations: 4 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004078/1.001, allocations: 88.19 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.001, allocations: 53.08 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/1.001, allocations: 97.05 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.001, allocations: 29.7 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/1.001, allocations: 82.81 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/1.001, allocations: 9.516 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/1.001, allocations: 11.44 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/1.001, allocations: 317.8 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/1.001, allocations: 14.11 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/1.001, allocations: 18.97 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/1.002, allocations: 40.86 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.002, allocations: 8.531 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/1.002, allocations: 62.45 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.002, allocations: 5.469 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.002, allocations: 0 / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.002, allocations: 3.594 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/1.002, allocations: 8.172 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.002, allocations: 4.031 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/1.002, allocations: 5.875 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/1.002, allocations: 0.7188 kB / 1.275 GB, free: 4.848 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.736e-05/1.002, allocations: 116.2 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.002, allocations: 1.219 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/1.002, allocations: 71.39 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.002, allocations: 4.031 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.002, allocations: 6.453 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.002, allocations: 3.938 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.002, allocations: 158.9 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.002, allocations: 0.8125 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/1.003, allocations: 8.578 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.003, allocations: 4.797 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.003, allocations: 5.75 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.003, allocations: 0 / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.003, allocations: 0.5938 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/1.003, allocations: 172.2 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/1.003, allocations: 78.17 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/1.003, allocations: 5 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/1.003, allocations: 6.078 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/1.003, allocations: 6.422 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/1.003, allocations: 5.031 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.87e-05/1.003, allocations: 80.36 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.003, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000213/1.003, allocations: 3.875 kB / 1.276 GB, free: 4.141 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.0004756/1.004, allocations: 0.6963 MB / 1.276 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.004, allocations: 40.16 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.004, allocations: 0 / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/1.004, allocations: 20.75 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.004, allocations: 2.75 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/1.005, allocations: 166.5 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/1.005, allocations: 0.6746 MB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.214e-05/1.005, allocations: 1.516 kB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/1.005, allocations: 15.95 kB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/1.005, allocations: 0 / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/1.03, allocations: 1.257 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.849, allocations: 4.078 kB / 1.278 GB, free: 18.23 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.941750380006852]