Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.008227/0.008227, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001964/0.001964, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 0.9505 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7886, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001655/0.7903, allocations: 0.7015 MB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.791, allocations: 0.8338 MB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.7911, allocations: 1.094 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.7911, allocations: 4.734 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.7911, allocations: 9.062 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.7913, allocations: 11.7 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.7914, allocations: 51.75 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.7915, allocations: 11.61 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.7915, allocations: 21.39 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.7916, allocations: 19.12 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.7916, allocations: 3.5 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.7916, allocations: 3.469 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.7916, allocations: 10.97 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.7917, allocations: 21.92 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.374e-05/0.7918, allocations: 43.73 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7918, allocations: 1.219 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7918, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7918, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004026/0.7922, allocations: 359.8 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7922, allocations: 9.656 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.7923, allocations: 39.36 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.7923, allocations: 12.19 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.7924, allocations: 172.7 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.7924, allocations: 384 / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.7924, allocations: 3.125 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.7926, allocations: 72.14 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7926, allocations: 5.125 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.7926, allocations: 0 / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.7927, allocations: 4.875 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.7929, allocations: 66.27 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.7932, allocations: 275.2 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.7934, allocations: 54.19 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.7936, allocations: 41.95 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7936, allocations: 0 / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.7936, allocations: 32.3 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.7936, allocations: 1.094 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.7941, allocations: 132.7 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.7942, allocations: 51.41 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.7942, allocations: 107.9 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.7942, allocations: 25.7 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.7943, allocations: 87.73 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.7943, allocations: 14.36 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.7943, allocations: 21.17 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.7944, allocations: 313.8 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.7945, allocations: 30.55 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.7947, allocations: 31.03 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.7949, allocations: 74.73 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7949, allocations: 1.062 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.7953, allocations: 101.8 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7953, allocations: 6.328 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7953, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7953, allocations: 4.656 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7954, allocations: 15.28 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.7954, allocations: 1.625 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.7955, allocations: 15.05 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.7955, allocations: 1.094 kB / 1.091 GB, free: 2.238 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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 4.296e-05/0.7956, allocations: 112.3 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.7956, allocations: 6.672 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.7959, allocations: 112.7 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.796, allocations: 1.156 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.796, allocations: 0.7969 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.796, allocations: 3.938 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7961, allocations: 171.2 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7961, allocations: 0.7969 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.7962, allocations: 20.16 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7962, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.7962, allocations: 5.031 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7962, allocations: 0 / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7962, allocations: 0.7969 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.7966, allocations: 198.1 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.7966, allocations: 87.73 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.7966, allocations: 1.562 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.7967, allocations: 11.78 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.7968, allocations: 7.984 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.7968, allocations: 0 / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.7968, allocations: 91.84 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7968, allocations: 1 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00021/0.797, allocations: 6.062 kB / 1.092 GB, free: 1.512 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0005582/0.7976, allocations: 0.7285 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.7979, allocations: 78.81 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7979, allocations: 0 / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.7981, allocations: 34.84 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.7984, allocations: 7.781 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.7989, allocations: 160.1 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.7991, allocations: 0.6841 MB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.7992, allocations: 1.766 kB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.7992, allocations: 14.39 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7992, allocations: 0 / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/1.172, allocations: 1.654 MB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/9.776, allocations: 10.25 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches